X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame.c;h=02331879311f3a7680e95bcd80e3a37148220f0e;hp=1de51be5b909b1e0cc2b0f735fa0e7f989fc7771;hb=7f515c3d57a5cc2d551564531c75f7be2e15c863;hpb=35fe4b6c88b0b77f64449b7d4d25a79e54dc2156 diff --git a/src/game.c b/src/game.c index 1de51be5..02331879 100644 --- a/src/game.c +++ b/src/game.c @@ -2308,7 +2308,7 @@ void UpdateGameControlValues() game_panel_controls[GAME_PANEL_TIME_MM].value = (time / 60) % 60; game_panel_controls[GAME_PANEL_TIME_SS].value = time % 60; - if (game.no_time_limit) + if (level.time == 0) game_panel_controls[GAME_PANEL_TIME_ANIM].value = 100; else game_panel_controls[GAME_PANEL_TIME_ANIM].value = time * 100 / level.time;