projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea1ac51
)
fixed bugs with missing re-initializations of delay counters in MM engine
author
Holger Schemel
<info@artsoft.org>
Sat, 28 Jan 2023 13:19:07 +0000
(14:19 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 28 Jan 2023 13:19:07 +0000
(14:19 +0100)
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 bd03e337df1fe28f13310de7ea5ec82aa251c765..63e892c5eda19f7ad3f497aec8ee140ede460951 100644
(file)
--- a/
src/game_mm/mm_game.c
+++ b/
src/game_mm/mm_game.c
@@
-757,7
+757,11
@@
void InitGameActions_MM(void)
SetTileCursorXY(laser.start_edge.x, laser.start_edge.y);
SetTileCursorActive(TRUE);
+ // restart all delay counters after initially cycling game elements
+ ResetFrameCounter(&rotate_delay);
+ ResetFrameCounter(&pacman_delay);
ResetFrameCounter(&energy_delay);
+ ResetFrameCounter(&overload_delay);
}
static void FadeOutLaser(void)