1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-18 02:45:21 +02:00

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
This commit is contained in:
SmallJoker
2019-06-10 13:00:35 +02:00
committed by GitHub
parent bd6f1cca9d
commit e40be619f2
4 changed files with 60 additions and 44 deletions

View File

@@ -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;