Skip to content
Snippets Groups Projects
Commit 655bb526 authored by Calinou's avatar Calinou Committed by Ilya Zhuravlev
Browse files

Fix head shifting downards in glass, nodeboxes...

parent 5c26972c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment