From eda9214f81b32d9606f425e3777616e8cfc0a44f Mon Sep 17 00:00:00 2001 From: sapier Date: Sun, 6 Apr 2014 15:12:04 +0200 Subject: Bunch of small fixes (coding style, very unlikely errors, warning messages) --- src/localplayer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/localplayer.cpp') diff --git a/src/localplayer.cpp b/src/localplayer.cpp index e545dc42a..a7a105fc5 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -268,8 +268,9 @@ void LocalPlayer::move(f32 dtime, Environment *env, 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 == true) { continue; + } if (!physics_override_sneak_glitch) { if (nodemgr->get(map->getNode(p+v3s16(0,2,0))).walkable) continue; -- cgit v1.2.3