Intialize interpolator list at a better time

This commit is contained in:
Eidolon 2022-04-12 22:32:15 -05:00
parent 2aa34f0273
commit 3e5cec7e72
2 changed files with 2 additions and 1 deletions

View file

@ -1830,7 +1830,6 @@ void G_DoLoadLevel(boolean resetplayer)
}
// Setup the level.
R_InitializeLevelInterpolators();
if (!P_LoadLevel(false, false)) // this never returns false?
{
// fail so reset game stuff

View file

@ -4373,6 +4373,8 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
Patch_FreeTag(PU_PATCH_ROTATED);
Z_FreeTags(PU_LEVEL, PU_PURGELEVEL - 1);
R_InitializeLevelInterpolators();
P_InitThinkers();
P_InitCachedActions();