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: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=cfa2a33651e00d44e2ad71cd0501e608dd25fd81 Undo an optimization (fixes spammy landing sounds) --- diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index 4465e5da6b..96d1a9e7a6 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; }