projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b4908b
)
Prevent player jumping into nodes from below
author
BlockMen
<nmuelll@web.de>
Wed, 15 Jan 2014 13:49:13 +0000
(14:49 +0100)
committer
BlockMen
<nmuelll@web.de>
Thu, 16 Jan 2014 14:46:55 +0000
(15:46 +0100)
Fixes camera glitch and cheating at drowning
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index 3481260c032222753284bd97eefe11ef987444d2..8ad6ff241ffaa76a7d3c292490009ed7f4efdebc 100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-47,7
+47,7
@@
Player::Player(IGameDef *gamedef):
m_yaw(0),
m_speed(0,0,0),
m_position(0,0,0),
- m_collisionbox(-BS*0.30,0.0,-BS*0.30,BS*0.30,BS*1.
5
5,BS*0.30),
+ m_collisionbox(-BS*0.30,0.0,-BS*0.30,BS*0.30,BS*1.
7
5,BS*0.30),
m_last_pitch(0),
m_last_yaw(0),
m_last_pos(0,0,0),