diff --git a/src/localplayer.cpp b/src/localplayer.cpp index b6dd0f42e..467052cfe 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -268,7 +268,8 @@ void LocalPlayer::move(f32 dtime, Map &map, f32 pos_max_d, if(nodemgr->get(map.getNode(p)).walkable == false) continue; // And the node above it has to be nonwalkable - if(nodemgr->get(map.getNode(p+v3s16(0,1,0))).walkable == true) + if(nodemgr->get(map.getNode(p+v3s16(0,1,0))).walkable || + nodemgr->get(map.getNode(p+v3s16(0,2,0))).walkable) continue; } catch(InvalidPositionException &e)