moved code for buttons to stop game or tape to separate functions
[rocksndiamonds.git] / src / game.c
index 6a424064b8ab1ceb3affabaee89edea1ec5dccea..f7392fe400f49bdc4b3b47b8cae54a7c01b98851 100644 (file)
@@ -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;