From 18602d41c98f449fe776aee6b03940219821dc7e 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 4c8e64f98..a6aba173e 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" @@ -947,6 +948,7 @@ void InitLevelGlobals(void) AnimCnt = 0; left_foot = FALSE; screenpeek = myconnectindex; + numinterpolations = short_numinterpolations = 0; gNet.TimeLimitClock = gNet.TimeLimit;