From: Perttu Ahola Date: Mon, 14 Feb 2011 10:07:49 +0000 (+0200) Subject: disabled jumping in sneak mode if far away from the edge because it can drop the... X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=5573142a2bd4fe65adf4219b21e6708296610563;p=zefram%2Fminetest%2Fminetest_engine.git disabled jumping in sneak mode if far away from the edge because it can drop the player --- diff --git a/src/player.cpp b/src/player.cpp index 61ed8750..02eb8387 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -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