projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20060810-1-src
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index daa0b30eb457c97ec29bd0aa69755f40964e19fd..97b4be7f06e173f958b664b58a26b1206ea22746 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-1366,6
+1366,7
@@
void DrawAllGameValues(int emeralds, int dynamite, int score, int time,
void DrawGameDoorValues()
{
void DrawGameDoorValues()
{
+ int time_value = (level.time == 0 ? TimePlayed : TimeLeft);
int dynamite_state = 0;
int key_bits = 0;
int i, j;
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,
}
DrawAllGameValues(local_player->gems_still_needed, dynamite_state,
- local_player->score,
TimeLeft
, key_bits);
+ local_player->score,
time_value
, key_bits);
#endif
}
#endif
}