From 04bf8499e72fd48e1e6e7487d743b38a2a206a14 Mon Sep 17 00:00:00 2001 From: NY00123 Date: Tue, 14 Apr 2020 00:13:38 +0300 Subject: [PATCH] SW: Reset the number of interpolations on level load --- source/sw/src/game.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/sw/src/game.cpp b/source/sw/src/game.cpp index 5b816a0dc..f7c6f8e83 100644 --- a/source/sw/src/game.cpp +++ b/source/sw/src/game.cpp @@ -52,6 +52,7 @@ Things required to make savegames work: #include "names2.h" #include "panel.h" #include "game.h" +#include "interp.h" #include "tags.h" #include "sector.h" #include "sprite.h" @@ -943,6 +944,7 @@ void InitLevelGlobals(void) AnimCnt = 0; left_foot = FALSE; screenpeek = myconnectindex; + numinterpolations = short_numinterpolations = 0; gNet.TimeLimitClock = gNet.TimeLimit;