Undo an optimization (fixes spammy landing sounds)
authorMario <mario@smbclan.net>
Sat, 30 Jan 2016 00:01:17 +0000 (10:01 +1000)
committerMario <mario@smbclan.net>
Sat, 30 Jan 2016 00:01:17 +0000 (10:01 +1000)
qcsrc/common/physics/player.qc

index 4465e5d..96d1a9e 100644 (file)
@@ -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;
 }