X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=97b4be7f06e173f958b664b58a26b1206ea22746;hb=55ea36f783098df4472f62634644131a8058e39b;hp=daa0b30eb457c97ec29bd0aa69755f40964e19fd;hpb=077a063efbdea9755f17e7442115221aabe71503;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index daa0b30e..97b4be7f 100644 --- a/src/game.c +++ b/src/game.c @@ -1366,6 +1366,7 @@ void DrawAllGameValues(int emeralds, int dynamite, int score, int time, void DrawGameDoorValues() { + int time_value = (level.time == 0 ? TimePlayed : TimeLeft); int dynamite_state = 0; int key_bits = 0; int i, j; @@ -1414,7 +1415,7 @@ void DrawGameDoorValues() } DrawAllGameValues(local_player->gems_still_needed, dynamite_state, - local_player->score, TimeLeft, key_bits); + local_player->score, time_value, key_bits); #endif }