From e40be619f2a30c7a4d5042d922f0fe57539411d5 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Mon, 10 Jun 2019 13:00:35 +0200 Subject: 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 --- src/client/localplayer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client/localplayer.h') 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; -- cgit v1.2.3