X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame.c;h=8c243a4954c3bbec07e28c79afa20bfbbc1cec21;hp=9e0327a491eac158a6907012e052b900287183eb;hb=04c0f30221267649e3c1098270eda66272fce40e;hpb=d44b582de43d0e120cb225009a378cc08400080a diff --git a/src/game.c b/src/game.c index 9e0327a4..8c243a49 100644 --- a/src/game.c +++ b/src/game.c @@ -1785,7 +1785,7 @@ static void InitPlayerField(int x, int y, int element, boolean init_game) player->jy = player->last_jy = y; } - if (!init_game) + // always check if player was just killed and should be reanimated { int player_nr = GET_PLAYER_NR(element); struct PlayerInfo *player = &stored_player[player_nr]; @@ -2991,6 +2991,9 @@ static void InitGameEngine(void) game_em.use_old_explosions = (game.engine_version < VERSION_IDENT(4,1,4,2)); + game_em.use_wrap_around = + (game.engine_version > VERSION_IDENT(4,1,4,1)); + // -------------------------------------------------------------------------- // set maximal allowed number of custom element changes per game frame