]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Attempt to prevent step sounds while crouching
authorMario <zacjardine@y7mail.com>
Thu, 9 Jul 2015 00:28:10 +0000 (10:28 +1000)
committerMario <zacjardine@y7mail.com>
Thu, 9 Jul 2015 00:28:10 +0000 (10:28 +1000)
qcsrc/server/sv_main.qc

index 0f7d1763b0ce2ebf184661f5ad8182f7173498b2..48cd05361ed9b9192a4949b27117c9287b2462ab 100644 (file)
@@ -140,6 +140,7 @@ void CreatureFrame (void)
                        if (g_footsteps)
                        if (!gameover)
                        if (self.flags & FL_ONGROUND)
+                       if (!self.crouch)
                        if (velocity_len > autocvar_sv_maxspeed * 0.6)
                        if (!self.deadflag)
                        if (time < self.lastground + 0.2)