Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 76db699

Browse files
committed
Align task.c with SA2
1 parent dc0eb7b commit 76db699

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/task.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void TaskDestroy(struct Task *task)
199199
task->flags = 0;
200200
task->data = (IwramData)NULL;
201201

202-
#if (GAME == GAME_SA2)
202+
#if (ENGINE == ENGINE_2)
203203
task->unk15 = 0;
204204
task->unk16 = 0;
205205
task->unk18 = 0;
@@ -409,7 +409,7 @@ static struct Task *TaskGetNextSlot(void)
409409
}
410410
}
411411

412-
#if ((GAME == GAME_SA1) || (GAME == GAME_SA2))
412+
#if ((ENGINE == ENGINE_1) || (ENGINE == ENGINE_2))
413413
void TasksDestroyInPriorityRange(u16 lbound, u16 rbound)
414414
{
415415
struct Task *cur = gTaskPtrs[0];
@@ -476,7 +476,7 @@ void TasksDestroyInPriorityRange(u16 lbound, u16 rbound)
476476
}
477477
#endif
478478

479-
#if (GAME == GAME_SA3)
479+
#if (ENGINE == ENGINE_3)
480480
static s32 IwramActiveNodeTotalSize(void)
481481
{
482482
s32 activeSize = 0;

0 commit comments

Comments
 (0)