From: Holger Schemel Date: Fri, 24 Feb 2023 19:19:14 +0000 (+0100) Subject: fixed asking to play again in case of tape replaying in MM engine X-Git-Tag: 4.3.5.2~27 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=4ed8ff5e4233a4d180895ac32d162f1bf568c6cd;p=rocksndiamonds.git fixed asking to play again in case of tape replaying in MM engine --- diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index d5ad417d..4b864e69 100644 --- a/src/game_mm/mm_game.c +++ b/src/game_mm/mm_game.c @@ -809,6 +809,10 @@ static void GameOver_MM(int game_over_cause) game_mm.game_over = TRUE; game_mm.game_over_cause = game_over_cause; + // do not ask to play again if game was never actually played + if (!game.GamePlayed) + return; + if (setup.ask_on_game_over) game.restart_game_message = (game_over_cause == GAME_OVER_BOMB ? "Bomb killed Mc Duffin! Play it again?" :