From 6b5ce647dff4e3b04228929cc407393267befeef Mon Sep 17 00:00:00 2001 From: N <71219152+PokeCodec@users.noreply.github.com> Date: Sat, 16 Jan 2021 20:31:09 -0500 Subject: [PATCH] Update task.c --- src/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/task.c b/src/task.c index ee58ba47c..f3771f08e 100644 --- a/src/task.c +++ b/src/task.c @@ -136,7 +136,7 @@ void TaskDummy(u8 taskId) { } -#define TASK_SPACE NUM_TASKS - 2 // So we can insert the two tasks at the last two array elements +#define TASK_SPACE NUM_TASKS - 2 // So we can reserve space for the last array element void SetTaskFuncWithFollowupFunc(u8 taskId, TaskFunc func, TaskFunc followupFunc) { u8 taskNum = TASK_SPACE; // Should be const