aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/localplayer.cpp b/src/client/localplayer.cpp
index c627cc6d9..7e7b1a867 100644
--- a/src/client/localplayer.cpp
+++ b/src/client/localplayer.cpp
@@ -689,7 +689,7 @@ void LocalPlayer::applyControl(float dtime, Environment *env)
incH = incV = movement_acceleration_default * BS * dtime;
float slip_factor = 1.0f;
- if (!free_move)
+ if (!free_move && !in_liquid && !in_liquid_stable)
slip_factor = getSlipFactor(env, speedH);
// Don't sink when swimming in pitch mode