From: Holger Schemel Date: Sat, 28 Jan 2023 13:19:07 +0000 (+0100) Subject: fixed bugs with missing re-initializations of delay counters in MM engine X-Git-Tag: 4.3.5.0~26 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=7ecd8eddc03023228a062ced889f5a4a83eb7d71;p=rocksndiamonds.git fixed bugs with missing re-initializations of delay counters in MM engine --- diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index bd03e337..63e892c5 100644 --- 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)