projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed playing "game.losing" sound also if not asking to play again
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index d91d8ac3ec629de5625ce29485531dba7c64bfa9..1cbea93f65185b803d2d0c6087be03a9227e3c9b 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-15711,6
+15711,10
@@
void CheckGameOver(void)
return;
}
+ // do not ask to play again if this was disabled in setup menu
+ if (!setup.ask_on_game_over)
+ return;
+
if (last_game_over != game_over)
game.restart_game_message = getRestartGameMessage();