X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame.c;h=2cd5f41f7c9b42d5e41e3d761fb8affab20bda05;hp=31aca3936131a87b1fea9e796b16fb096683d25a;hb=5ae3fc5d27076677a95153162abcf527c6dc8e63;hpb=d663c0b66b0fbf7aaca97890c756d97fa02c8ba1 diff --git a/src/game.c b/src/game.c index 31aca393..2cd5f41f 100644 --- a/src/game.c +++ b/src/game.c @@ -2662,6 +2662,15 @@ void DisplayGameControlValues() game_status = GAME_MODE_PLAYING; } +void UpdateAndDisplayGameControlValues() +{ + if (tape.warp_forward) + return; + + UpdateGameControlValues(); + DisplayGameControlValues(); +} + void DrawGameValue_Emeralds(int value) { struct TextPosInfo *pos = &game.panel.gems; @@ -4213,8 +4222,12 @@ void InitGame() SetPanelBackground(); SetDrawBackgroundMask(REDRAW_DOOR_1); +#if 1 + UpdateAndDisplayGameControlValues(); +#else UpdateGameDoorValues(); DrawGameDoorValues(); +#endif if (!game.restart_level) { @@ -11421,8 +11434,12 @@ static void CheckLevelTime() DrawVideoDisplay(VIDEO_STATE_TIME_ON, TapeTime); } +#if 1 + UpdateAndDisplayGameControlValues(); +#else UpdateGameDoorValues(); DrawGameDoorValues(); +#endif } void AdvanceFrameAndPlayerCounters(int player_nr)