Before, when setting "[x] only one player must enter exit", a level
with two players was solved when one player was killed, and then the
other player entered an exit. But it was not yet solved if one player
entered an exit and the other player was still on the playfield.
Now, the first player really solves the level when entering an exit,
regardless of any other players still around on the playfield.
if (local_player->players_still_needed > 0)
local_player->players_still_needed--;
+
+ /* also set if some players not yet gone, but not needed to solve level */
+ if (local_player->players_still_needed == 0)
+ AllPlayersGone = TRUE;
}
static void setFieldForSnapping(int x, int y, int element, int direction)