From: Mario Date: Fri, 17 Jun 2016 15:34:33 +0000 (+1000) Subject: Don't run client-side player physics while inside a vehicle X-Git-Tag: xonotic-v0.8.2~799 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=13a15bbf80764062e9bd97d94fc815294e37394a;p=xonotic%2Fxonotic-data.pk3dir.git Don't run client-side player physics while inside a vehicle --- 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