fixed bug not updating game panel values in visible warp forward mode
[rocksndiamonds.git] / src / game_sp / main.c
index 4486656ffd7864693ad47dec5923f471bb0c5d24..efe66ad90b9784cbebbea7d7d4c235b93f0aaa0a 100644 (file)
@@ -62,7 +62,7 @@ void RedrawPlayfield_SP(boolean force_redraw)
   BackToFront_SP();
 }
 
-void DrawGameDoorValues_SP()
+void UpdateGameDoorValues_SP()
 {
   game_sp.time_played = TimerVar / FRAMES_PER_SECOND;
   game_sp.infotrons_still_needed = InfotronsNeeded;
@@ -81,8 +81,7 @@ void GameActions_SP(byte action[MAX_PLAYERS], boolean warp_mode)
 
   RedrawPlayfield_SP(FALSE);
 
-  if (!warp_mode)              /* do not redraw values in warp mode */
-    DrawGameDoorValues_SP();
+  UpdateGameDoorValues_SP();
 
   CheckSingleStepMode_SP(PlayField16[MurphyPosIndex] == fiMurphy,
                         HighByte(PlayField16[MurphyPosIndex]) == 0x2A);