From: Holger Schemel Date: Wed, 17 May 2023 09:25:43 +0000 (+0200) Subject: added stopping game startup actions on Escape key when using MM engine X-Git-Tag: 4.3.6.0~15 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=3d7ff0d7ce7c86f068d8700faa8f03de4e9aaa88;p=rocksndiamonds.git added stopping game startup actions on Escape key when using MM engine --- diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index 6ff1d678..3c18bcc5 100644 --- a/src/game_mm/mm_game.c +++ b/src/game_mm/mm_game.c @@ -837,6 +837,9 @@ void InitGameActions_MM(void) AdvanceFrameCounter(); AdvanceGfxFrame(); + if (PendingEscapeKeyEvent()) + continue; + #ifdef DEBUG if (setup.quick_doors) continue;