p_setup: move interpolator reset into P_FreeLevelState

This commit is contained in:
Alug committed 2025-11-24 00:35:04 +01:00
1 parent d62eb8cf9e
commit 0bf5216e40
1 file changed
+3 -3
+3 -3
View File
@@ -2719,6 +2719,9 @@ void P_FreeLevelState(void)
// clear the splats from previous level
R_ClearLevelSplats();
#endif
R_InitMobjInterpolators();
R_InitializeLevelInterpolators();
}
/** Loads a level from a lump or external wad.
@@ -2830,10 +2833,7 @@ boolean P_SetupLevel(boolean fromnetsave, boolean reloadinggamestate)
P_FreeLevelState();
R_InitializeLevelInterpolators();
P_InitThinkers();
R_InitMobjInterpolators();
P_InitCachedActions();
// internal game map