rnd-20060222-1-src
[rocksndiamonds.git] / src / game.c
index 4bda5189bffd6a07b103a86bebc538edfbd6ad1c..19fcafdd74fa3acdef0094efc3d36877daa621ec 100644 (file)
@@ -8811,10 +8811,13 @@ void GameActions()
 
   if (ScreenMovPos == 0)       /* screen currently aligned at tile position */
   {
+    struct PlayerInfo *player = &stored_player[game.centered_to_player_next];
+
+    if (!player->active)
+      game.centered_to_player_next = game.centered_to_player;
+
     if (game.centered_to_player != game.centered_to_player_next)
     {
-      struct PlayerInfo *player = &stored_player[game.centered_to_player_next];
-
       DrawRelocatePlayer(player, setup.quick_switch);
 
       game.centered_to_player = game.centered_to_player_next;