X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_tools.c;h=21ad08144351dab725e4e6ec23be4330767a3056;hb=97b1e9813e532b9065a841f2d185d632df19bf7a;hp=e71fb1d444955acaf32a19dab121d76f3cfc9b77;hpb=6b3a527805a1b8427f32a2134370fc3191d7cdbf;p=rocksndiamonds.git diff --git a/src/game_mm/mm_tools.c b/src/game_mm/mm_tools.c index e71fb1d4..21ad0814 100644 --- a/src/game_mm/mm_tools.c +++ b/src/game_mm/mm_tools.c @@ -946,7 +946,7 @@ static void DrawTileCursor_Xsn(int draw_target) debug = TRUE; active = FALSE; - DelayReached(&check_delay, 0); + ResetDelayCounter(&check_delay); setup.debug.xsn_mode = (debug_value > 0); tile_cursor.xsn_debug = FALSE; @@ -1000,7 +1000,7 @@ static void DrawTileCursor_Xsn(int draw_target) (XSN_START_DELAY + XSN_RND(XSN_START_DELAY)) * 1000); started = FALSE; - DelayReached(&start_delay, 0); + ResetDelayCounter(&start_delay); reinitialize = TRUE; } @@ -1079,9 +1079,9 @@ static void DrawTileCursor_Xsn(int draw_target) growth_delay_value = XSN_GROWTH_DELAY * 1000; change_delay_value = XSN_CHANGE_DELAY * 1000; - DelayReached(&growth_delay, 0); - DelayReached(&update_delay, 0); - DelayReached(&change_delay, 0); + ResetDelayCounter(&growth_delay); + ResetDelayCounter(&update_delay); + ResetDelayCounter(&change_delay); started = TRUE; }