fixed bug with reanimating killed player by CE condition
[rocksndiamonds.git] / src / game.c
index 9e0327a491eac158a6907012e052b900287183eb..d67a91a0b8c743ba46cbb55d245067f314897fa4 100644 (file)
@@ -1785,7 +1785,7 @@ static void InitPlayerField(int x, int y, int element, boolean init_game)
     player->jy = player->last_jy = y;
   }
 
     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];
   {
     int player_nr = GET_PLAYER_NR(element);
     struct PlayerInfo *player = &stored_player[player_nr];