From 13a15bbf80764062e9bd97d94fc815294e37394a Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 18 Jun 2016 01:34:33 +1000 Subject: [PATCH] Don't run client-side player physics while inside a vehicle --- qcsrc/common/physics/player.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index 5079bd976..d70717ac5 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -1330,6 +1330,9 @@ void PM_Main(entity this) if (this.PlayerPhysplug) if (this.PlayerPhysplug(this)) return; +#elif defined(CSQC) + if(hud != HUD_NORMAL) + return; // no vehicle prediction (yet) #endif #ifdef SVQC -- 2.39.2