diff options
author | Calinou <calinou9999spam@gmail.com> | 2012-11-28 11:59:19 +0100 |
---|---|---|
committer | Ilya Zhuravlev <zhuravlevilya@ya.ru> | 2012-11-28 16:14:52 +0400 |
commit | 655bb526f48a147808eefe47fde38adae88e1915 (patch) | |
tree | 1843d3ef181643da0d1d72b2480656453a39206c /src | |
parent | 5c26972cddb78f3f93d5d6e0428a6b282fde4bfe (diff) | |
download | minetest-655bb526f48a147808eefe47fde38adae88e1915.tar.gz minetest-655bb526f48a147808eefe47fde38adae88e1915.tar.bz2 minetest-655bb526f48a147808eefe47fde38adae88e1915.zip |
Fix head shifting downards in glass, nodeboxes...
Diffstat (limited to 'src')
-rw-r--r-- | src/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 63400cc29..17c4cdeb9 100644 --- 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; } } |