projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
moved requesting game restart to function that checks for game over
[rocksndiamonds.git]
/
src
/
screens.c
diff --git
a/src/screens.c
b/src/screens.c
index eecb688b937aa681e9f1d78ab93e24de931a1ba0..c4955e8c7bdcac56ddaad9ceaed82a8e6e96a246 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-9527,14
+9527,8
@@
void HandleSetupScreen(int mx, int my, int dx, int dy, int button)
void HandleGameActions(void)
{
- CheckGameOver();
-
- if (game.restart_game_message != NULL)
- {
- RequestRestartGame(game.restart_game_message);
-
+ if (CheckRestartGame())
return;
- }
if (game_status != GAME_MODE_PLAYING)
return;