mirror of
https://github.com/SAT-R/sa2.git
synced 2026-10-28 09:43:38 +00:00
Align task.c with SA2
This commit is contained in:
1 parent
dc0eb7ba2a
commit
76db699212
1 file changed
+3
-3
+3
-3
@@ -199,7 +199,7 @@ void TaskDestroy(struct Task *task)
|
||||
task->flags = 0;
|
||||
task->data = (IwramData)NULL;
|
||||
|
||||
#if (GAME == GAME_SA2)
|
||||
#if (ENGINE == ENGINE_2)
|
||||
task->unk15 = 0;
|
||||
task->unk16 = 0;
|
||||
task->unk18 = 0;
|
||||
@@ -409,7 +409,7 @@ static struct Task *TaskGetNextSlot(void)
|
||||
}
|
||||
}
|
||||
|
||||
#if ((GAME == GAME_SA1) || (GAME == GAME_SA2))
|
||||
#if ((ENGINE == ENGINE_1) || (ENGINE == ENGINE_2))
|
||||
void TasksDestroyInPriorityRange(u16 lbound, u16 rbound)
|
||||
{
|
||||
struct Task *cur = gTaskPtrs[0];
|
||||
@@ -476,7 +476,7 @@ void TasksDestroyInPriorityRange(u16 lbound, u16 rbound)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (GAME == GAME_SA3)
|
||||
#if (ENGINE == ENGINE_3)
|
||||
static s32 IwramActiveNodeTotalSize(void)
|
||||
{
|
||||
s32 activeSize = 0;
|
||||
|
||||
Reference in new issue
Block a user