From: Mario Date: Thu, 9 Jul 2015 00:28:10 +0000 (+1000) Subject: Attempt to prevent step sounds while crouching X-Git-Tag: xonotic-v0.8.1~38^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=11e8ccde9f9c9251b18709bca31a6c04474699eb;p=xonotic%2Fxonotic-data.pk3dir.git Attempt to prevent step sounds while crouching --- diff --git a/qcsrc/server/sv_main.qc b/qcsrc/server/sv_main.qc index 0f7d1763b..48cd05361 100644 --- a/qcsrc/server/sv_main.qc +++ b/qcsrc/server/sv_main.qc @@ -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)