From: Mario Date: Sun, 4 Mar 2018 17:18:35 +0000 (+1000) Subject: Allow crouching underwater (some maps depend on it) X-Git-Tag: xonotic-v0.8.5~2255 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=e99ea76598f37732b7b12924508c3f896d3749ad;p=xonotic%2Fxonotic-data.pk3dir.git Allow crouching underwater (some maps depend on it) --- diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index 7d3cab007..351725bc1 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -113,8 +113,8 @@ void PM_ClientMovement_UpdateStatus(entity this) break; // don't bother checking the others } } - if(this.waterlevel >= WATERLEVEL_SWIMMING) - do_crouch = false; + //if(this.waterlevel >= WATERLEVEL_SWIMMING) + //do_crouch = false; if(hud != HUD_NORMAL) do_crouch = false; if(STAT(FROZEN, this))