improved robustness of client/server encoding functions
[rocksndiamonds.git] / src / tools.c
index d032f9884d56fb0a4bbf28397a1a4c3b77bb0114..c859e633975d4e6819e78a298c16ba0db0d3e134 100644 (file)
@@ -3531,8 +3531,8 @@ static void DrawPreviewLevelExt(boolean restart)
     DrawPreviewLevelInfo(MICROLABEL_LEVEL_AUTHOR);
 
     // initialize delay counters
-    DelayReached(&scroll_delay, 0);
-    DelayReached(&label_delay, 0);
+    ResetDelayCounter(&scroll_delay);
+    ResetDelayCounter(&label_delay);
 
     if (leveldir_current->name)
     {