From: Mario Date: Mon, 5 Mar 2018 13:38:08 +0000 (+1000) Subject: Also update prediction for crouching underwater X-Git-Tag: xonotic-v0.8.5~2253 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=61099365a15be8eba28018247e18fe1ddf0bf98b;p=xonotic%2Fxonotic-data.pk3dir.git Also update prediction for crouching underwater --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 238e07fb0..7a4f82fc5 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -2259,8 +2259,8 @@ bool PlayerThink(entity this) bool do_crouch = PHYS_INPUT_BUTTON_CROUCH(this); if (have_hook) { do_crouch = false; - } else if (this.waterlevel >= WATERLEVEL_SWIMMING) { - do_crouch = false; + //} else if (this.waterlevel >= WATERLEVEL_SWIMMING) { + //do_crouch = false; } else if (this.vehicle) { do_crouch = false; } else if (STAT(FROZEN, this)) {