mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-27 07:10:24 +00:00
BlackCat_RelocatableModuleClear
This commit is contained in:
parent
b56e14d2d4
commit
8ebe404d72
13
blackcat.cpp
13
blackcat.cpp
@ -5,10 +5,19 @@
|
||||
extern u8 submarinerDieRelated;
|
||||
extern CBaddy* BaddyList;
|
||||
|
||||
// @SMALLTODO
|
||||
// @Ok
|
||||
void BlackCat_RelocatableModuleClear(void)
|
||||
{
|
||||
printf("BlackCat_RelocatableModuleClear(void)");
|
||||
for (CBody* cur = BaddyList; cur; )
|
||||
{
|
||||
CBody* next = reinterpret_cast<CBody*>(cur->field_20);
|
||||
if (cur->field_38 == 319)
|
||||
{
|
||||
delete cur;
|
||||
}
|
||||
|
||||
cur = next;
|
||||
}
|
||||
}
|
||||
|
||||
// @MEDIUMTODO
|
||||
|
@ -38,3 +38,4 @@ public:
|
||||
|
||||
void validate_CBlackCat(void);
|
||||
EXPORT void BlackCat_CreateBlackCat(const unsigned int *stack, unsigned int *result);
|
||||
EXPORT void BlackCat_RelocatableModuleClear(void);
|
||||
|
Loading…
Reference in New Issue
Block a user