]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Allow crouching underwater (some maps depend on it)
authorMario <mario@smbclan.net>
Sun, 4 Mar 2018 17:18:35 +0000 (03:18 +1000)
committerMario <mario@smbclan.net>
Sun, 4 Mar 2018 17:18:35 +0000 (03:18 +1000)
qcsrc/common/physics/player.qc

index 7d3cab007b508fa6dafceb84a14585d0fd68f327..351725bc14698fe92da40c5aa533947e5a7e0381 100644 (file)
@@ -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))