Use PLUS_ALL_OBJS to test for required objectives.

This commit is contained in:
Steve 2018-05-14 08:32:45 +01:00
parent 455db3d077
commit 0395d25594
1 changed files with 2 additions and 2 deletions

View File

@ -52,10 +52,10 @@ void initObjectives(void)
}
}
if (world.isReturnVisit || game.plus & PLUS_KILL_ALL)
if (world.isReturnVisit || game.plus & PLUS_ALL_OBJS)
{
o->targetValue = o->totalValue;
o->required = game.plus & PLUS_KILL_ALL;
o->required = game.plus & PLUS_ALL_OBJS;
}
if ((strcmp(o->targetName, "ENEMY") == 0 && o->targetValue == o->totalValue) || game.plus & PLUS_KILL_ALL)