From: Mario Date: Wed, 23 Dec 2015 22:36:40 +0000 (+1000) Subject: Make IsFlying less accurate but a lot quicker X-Git-Tag: xonotic-v0.8.2~1449 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bea48396f95dbf1f957fe5763f99f3988892b660;p=xonotic%2Fxonotic-data.pk3dir.git Make IsFlying less accurate but a lot quicker --- diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index 68cae7395..1fc9ccdf3 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -1277,9 +1277,9 @@ bool IsFlying(entity this) return false; if(this.waterlevel >= WATERLEVEL_SWIMMING) return false; - traceline(this.origin, this.origin - '0 0 48', MOVE_NORMAL, this); - if(trace_fraction < 1) - return false; + //traceline(this.origin, this.origin - '0 0 48', MOVE_NORMAL, this); + //if(trace_fraction < 1) + //return false; return true; }