summaryrefslogtreecommitdiff
path: root/src/client/localplayer.h
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2019-06-10 13:00:35 +0200
committerGitHub <noreply@github.com>2019-06-10 13:00:35 +0200
commite40be619f2a30c7a4d5042d922f0fe57539411d5 (patch)
treedfa1bf7dd18f15e2fe3053d88b64dbb99b1ab03c /src/client/localplayer.h
parentbd6f1cca9dc357a6dbd54e86b3f575282daf6e1e (diff)
downloadminetest-e40be619f2a30c7a4d5042d922f0fe57539411d5.tar.gz
minetest-e40be619f2a30c7a4d5042d922f0fe57539411d5.tar.bz2
minetest-e40be619f2a30c7a4d5042d922f0fe57539411d5.zip
Add disable_jump to liquids and ladders (#7688)
Remove second nodedef check by improving the colliding node detection Also remove the 2nd check in old_move, correct standing node a bit
Diffstat (limited to 'src/client/localplayer.h')
-rw-r--r--src/client/localplayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/localplayer.h b/src/client/localplayer.h
index b1fc1fbc8..84cfa583a 100644
--- a/src/client/localplayer.h
+++ b/src/client/localplayer.h
@@ -183,6 +183,7 @@ private:
// ***** End of variables for temporary option *****
bool m_can_jump = false;
+ bool m_disable_jump = false;
u16 m_breath = PLAYER_MAX_BREATH_DEFAULT;
f32 m_yaw = 0.0f;
f32 m_pitch = 0.0f;