summaryrefslogtreecommitdiff
path: root/src/task.c
diff options
context:
space:
mode:
authorN <71219152+PokeCodec@users.noreply.github.com>2021-01-16 20:31:09 -0500
committerN <71219152+PokeCodec@users.noreply.github.com>2021-01-16 20:31:09 -0500
commit6b5ce647dff4e3b04228929cc407393267befeef (patch)
tree093edf425b4d3f45cee8798d641986cdd67f859b /src/task.c
parent26246ce2812a10c442a914f5d916b2e6d7637e7e (diff)
Update task.c
Diffstat (limited to 'src/task.c')
-rw-r--r--src/task.c2
1 files changed, 1 insertions, 1 deletions
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