diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-02-19 18:36:48 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-02-24 11:03:08 -0500 |
commit | 81a7f491b7053281ad63f6a13067bd1a36249a73 (patch) | |
tree | c5495dfcfb1bce6035914a2a256b85f17fcdaf31 /src/match_call.c | |
parent | 06ae5a37e2671455bfb59935cf93d8f23923ce8a (diff) |
Use WINDOW_NONE constant
Diffstat (limited to 'src/match_call.c')
-rw-r--r-- | src/match_call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/match_call.c b/src/match_call.c index 68b630d6b..fb8ebc98c 100644 --- a/src/match_call.c +++ b/src/match_call.c @@ -1168,7 +1168,7 @@ static bool32 LoadMatchCallWindowGfx(u8 taskId) { s16 *taskData = gTasks[taskId].data; taskData[2] = AddWindow(&sMatchCallTextWindow); - if (taskData[2] == 0xFF) + if (taskData[2] == WINDOW_NONE) { DestroyTask(taskId); return FALSE; |