]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/physics/player.qc
Don't run client-side player physics while inside a vehicle
[xonotic/xonotic-data.pk3dir.git] / 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