mirror of
https://github.com/minetest/minetest.git
synced 2024-08-19 04:54:18 +02:00
disabled jumping in sneak mode if far away from the edge because it can drop the player
This commit is contained in:
parent
b1defb4def
commit
5573142a2b
@ -587,9 +587,11 @@ void LocalPlayer::move(f32 dtime, Map &map, f32 pos_max_d)
|
||||
/*
|
||||
If sneaking, the player's collision box can be in air, so
|
||||
this has to be set explicitly
|
||||
NOTE: Not allowed, because jumping in the situation can drop
|
||||
the player
|
||||
*/
|
||||
if(m_sneak_node_exists)
|
||||
touching_ground = true;
|
||||
/*if(m_sneak_node_exists)
|
||||
touching_ground = true;*/
|
||||
|
||||
/*
|
||||
Set new position
|
||||
|
Loading…
Reference in New Issue
Block a user