diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-02-19 23:22:26 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-02-24 11:03:25 -0500 |
commit | a5852d57d124c49fd1b80510e968c18404a436a3 (patch) | |
tree | b1b37f32e5eb22286c487d74c8db9deecf14c00d /src/slot_machine.c | |
parent | e52b46ab43d50b02734d1b1b9eeeccdc8daf9789 (diff) |
Use TASK_NONE constant
Diffstat (limited to 'src/slot_machine.c')
-rw-r--r-- | src/slot_machine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slot_machine.c b/src/slot_machine.c index 7cfd7d22e..806bf750d 100644 --- a/src/slot_machine.c +++ b/src/slot_machine.c @@ -3409,7 +3409,7 @@ static void OpenInfoBox(u8 digDisplayId) static bool8 IsInfoBoxClosed(void) { - if (FindTaskIdByFunc(RunInfoBoxActions) == 0xFF) + if (FindTaskIdByFunc(RunInfoBoxActions) == TASK_NONE) return TRUE; else return FALSE; |