projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added storing last game mode when setting new game mode
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 794174c1d1ccbe0ccf34b87a474b9fb59d596c4e..e99d26ce169ad18c33f601c674a684d6165ff0d6 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-8507,6
+8507,9
@@
void SetAnimStatus(int anim_status_new)
void SetGameStatus(int game_status_new)
{
+ if (game_status_new != game_status)
+ game_status_last_screen = game_status;
+
game_status = game_status_new;
SetAnimStatus(game_status_new);