Misc network fixes

Fixed missing teleport specials when predicting. Added rubberband limit; if too far away from the predicted position, will instead instantly snap the player's view to their new spot. Deprecated cl_noprediction; this was pointless as you'd never not want to predict your position/angles. Fixed angle targets not being backed up. Fixed oldbuttons not being set. Updated menu
This commit is contained in:
Boondorl 2024-05-26 17:21:58 -04:00 committed by Ricardo Luís Vaz Silva
commit 10d0f94972
4 changed files with 34 additions and 20 deletions

View file

@ -441,7 +441,6 @@ void R_Shutdown ()
//==========================================================================
//CVAR (Int, tf, 0, 0)
EXTERN_CVAR (Bool, cl_noprediction)
bool P_NoInterpolation(player_t const *player, AActor const *actor)
{
@ -455,7 +454,6 @@ bool P_NoInterpolation(player_t const *player, AActor const *actor)
&& player->mo->reactiontime == 0
&& !NoInterpolateView
&& !paused
&& (!netgame || !cl_noprediction)
&& !LocalKeyboardTurner;
}