Use TASK_NONE constant
This commit is contained in:
+1
-1
@@ -1002,7 +1002,7 @@ static void DestroyBlendPalettesGraduallyTask(void)
|
||||
while (1)
|
||||
{
|
||||
taskId = FindTaskIdByFunc(Task_BlendPalettesGradually);
|
||||
if (taskId == 0xFF)
|
||||
if (taskId == TASK_NONE)
|
||||
break;
|
||||
DestroyTask(taskId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user