]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't run client-side player physics while inside a vehicle
authorMario <mario@smbclan.net>
Fri, 17 Jun 2016 15:34:33 +0000 (01:34 +1000)
committerMario <mario@smbclan.net>
Fri, 17 Jun 2016 15:34:33 +0000 (01:34 +1000)
qcsrc/common/physics/player.qc

index 5079bd97611d47d92c2251cc44570992be3592fa..d70717ac5e983eeff9690ee6200a51662e638ca0 100644 (file)
@@ -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