projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1defb4
)
disabled jumping in sneak mode if far away from the edge because it can drop the...
author
Perttu Ahola
<celeron55@gmail.com>
Mon, 14 Feb 2011 10:07:49 +0000
(12:07 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Mon, 14 Feb 2011 10:07:49 +0000
(12:07 +0200)
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index 61ed87504f9286f850a9a191e74b08862a2c02c6..02eb83871b2bb02b1039a3bef4290d8cb513c41f 100644
(file)
--- 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