projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
moved code for buttons to stop game or tape to separate functions
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 6a424064b8ab1ceb3affabaee89edea1ec5dccea..f7392fe400f49bdc4b3b47b8cae54a7c01b98851 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-16577,13
+16577,7
@@
static void HandleGameButtonsExt(int id, int button)
case GAME_CTRL_ID_STOP:
case GAME_CTRL_ID_PANEL_STOP:
case GAME_CTRL_ID_TOUCH_STOP:
- if (game_status == GAME_MODE_MAIN)
- break;
-
- if (tape.playing)
- TapeStop();
- else
- RequestQuitGame(FALSE);
+ TapeStopGame();
break;