projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27f851e
)
added updating game panel values immediately after solving game
author
Holger Schemel
<info@artsoft.org>
Mon, 14 Jun 2021 16:04:03 +0000
(18:04 +0200)
committer
Holger Schemel
<info@artsoft.org>
Mon, 14 Jun 2021 16:04:03 +0000
(18:04 +0200)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 1533d9555a231de40cd1a42c9368584604c8b233..3d0e2d3bff7aca38e3d10df5f29e8111d5c5f194 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-4790,6
+4790,9
@@
void GameWon(void)
score = score_final = game.score_final;
health = health_final = game.health_final;
+ // update game panel values before (delayed) counting of score (if any)
+ LevelSolved_DisplayFinalGameValues(time, score, health);
+
// if level has time score defined, calculate new final game values
if (time_score > 0)
{