]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Also update prediction for crouching underwater
authorMario <mario@smbclan.net>
Mon, 5 Mar 2018 13:38:08 +0000 (23:38 +1000)
committerMario <mario@smbclan.net>
Mon, 5 Mar 2018 13:38:37 +0000 (23:38 +1000)
qcsrc/server/client.qc

index 238e07fb0f33d8febf4482dda7811e9581e1295d..7a4f82fc5b2c33d317204992b5973e987dc9181d 100644 (file)
@@ -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)) {