mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Revert "Ensure view interpolates between T-1 to T"
This reverts commit aa7bfab0fc.
This commit is contained in:
parent
95096fbc9a
commit
bc7d52ab3c
1 changed files with 0 additions and 15 deletions
15
src/p_tick.c
15
src/p_tick.c
|
|
@ -24,7 +24,6 @@
|
||||||
#include "lua_hook.h"
|
#include "lua_hook.h"
|
||||||
#include "m_perfstats.h"
|
#include "m_perfstats.h"
|
||||||
#include "i_system.h" // I_GetPreciseTime
|
#include "i_system.h" // I_GetPreciseTime
|
||||||
#include "r_main.h"
|
|
||||||
#include "r_fps.h"
|
#include "r_fps.h"
|
||||||
|
|
||||||
// Object place
|
// Object place
|
||||||
|
|
@ -783,20 +782,6 @@ void P_Ticker(boolean run)
|
||||||
{
|
{
|
||||||
R_UpdateLevelInterpolators();
|
R_UpdateLevelInterpolators();
|
||||||
R_UpdateViewInterpolation();
|
R_UpdateViewInterpolation();
|
||||||
|
|
||||||
// Hack: ensure newview is assigned every tic.
|
|
||||||
// Ensures view interpolation is T-1 to T in poor network conditions
|
|
||||||
// We need a better way to assign view state decoupled from game logic
|
|
||||||
for (i = 0; i <= splitscreen; i++)
|
|
||||||
{
|
|
||||||
player_t *player = &players[displayplayers[i]];
|
|
||||||
BOOL skyVisible = skyVisiblePerPlayer[i];
|
|
||||||
if (skyVisible && skyboxmo[0] && cv_skybox.value)
|
|
||||||
{
|
|
||||||
R_SkyboxFrame(player);
|
|
||||||
}
|
|
||||||
R_SetupFrame(player, (skyboxmo[0] && cv_skybox.value));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
P_MapEnd();
|
P_MapEnd();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue