projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74d96da
)
added stopping game startup actions on Escape key when using MM engine
author
Holger Schemel
<info@artsoft.org>
Wed, 17 May 2023 09:25:43 +0000
(11:25 +0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 17 May 2023 09:25:43 +0000
(11:25 +0200)
src/game_mm/mm_game.c
patch
|
blob
|
history
diff --git
a/src/game_mm/mm_game.c
b/src/game_mm/mm_game.c
index 6ff1d678b886f0d648c66116da20de848fdce39f..3c18bcc54e317f8408f4c1e5f7269894fa618f9d 100644
(file)
--- 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;