From: Mario Date: Sat, 30 Jan 2016 00:01:17 +0000 (+1000) Subject: Undo an optimization (fixes spammy landing sounds) X-Git-Tag: xonotic-v0.8.2~1211 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cfa2a33651e00d44e2ad71cd0501e608dd25fd81;p=xonotic%2Fxonotic-data.pk3dir.git Undo an optimization (fixes spammy landing sounds) --- diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index 4465e5da6..96d1a9e7a 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; }