Reset view interp in preticker

This commit is contained in:
Eidolon 2022-05-05 19:43:55 -05:00
parent 0741b7ee8e
commit 80a479f512
3 changed files with 3 additions and 7 deletions

View file

@ -2415,10 +2415,6 @@ void G_Ticker(boolean run)
ST_Ticker();
AM_Ticker();
HU_Ticker();
if (run)
{
R_UpdateViewInterpolation();
}
}
break;

View file

@ -3383,9 +3383,6 @@ boolean P_SetupLevel(boolean skipprecip)
G_AddMapToBuffer(gamemap-1);
R_ResetViewInterpolation(0);
R_ResetViewInterpolation(0);
return true;
}

View file

@ -802,6 +802,7 @@ void P_Ticker(boolean run)
if (run)
{
R_UpdateLevelInterpolators();
R_UpdateViewInterpolation();
}
P_MapEnd();
@ -872,6 +873,8 @@ void P_PreTicker(INT32 frames)
#endif
R_UpdateLevelInterpolators();
R_UpdateViewInterpolation();
R_ResetViewInterpolation();
P_MapEnd();