Use PLUS_ALL_OBJS to test for required objectives.
This commit is contained in:
parent
455db3d077
commit
0395d25594
|
@ -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->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)
|
if ((strcmp(o->targetName, "ENEMY") == 0 && o->targetValue == o->totalValue) || game.plus & PLUS_KILL_ALL)
|
||||||
|
|
Loading…
Reference in New Issue