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:
5c26972
)
Fix head shifting downards in glass, nodeboxes...
author
Calinou
<calinou9999spam@gmail.com>
Wed, 28 Nov 2012 10:59:19 +0000
(11:59 +0100)
committer
Ilya Zhuravlev
<zhuravlevilya@ya.ru>
Wed, 28 Nov 2012 12:14:52 +0000
(16:14 +0400)
src/localplayer.cpp
patch
|
blob
|
history
diff --git
a/src/localplayer.cpp
b/src/localplayer.cpp
index 63400cc298cd156d60151488ff3f7b78f95d4c47..17c4cdeb9904d98fa4d3cfa19c5657976107ced6 100644
(file)
--- a/
src/localplayer.cpp
+++ b/
src/localplayer.cpp
@@
-323,7
+323,7
@@
void LocalPlayer::move(f32 dtime, Map &map, f32 pos_max_d,
v3s16 camera_np = floatToInt(getEyePosition(), BS);
MapNode n = map.getNodeNoEx(camera_np);
if(n.getContent() != CONTENT_IGNORE){
- if(nodemgr->get(n).walkable){
+ if(nodemgr->get(n).walkable
&& nodemgr->get(n).solidness == 2
){
camera_barely_in_ceiling = true;
}
}