From cfa2a33651e00d44e2ad71cd0501e608dd25fd81 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 30 Jan 2016 10:01:17 +1000 Subject: [PATCH] Undo an optimization (fixes spammy landing sounds) --- qcsrc/common/physics/player.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.2