]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 4465e5da6b666fe05c9b20c872c871ae00d2108f..96d1a9e7a6b4addb3a0847f0e3714b27ac173cf0 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;
 }