From: ShadowNinja Date: Sat, 9 Feb 2013 21:32:59 +0000 (-0500) Subject: Don't see through nodes without noclip privileges X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=32552fede5b941332819be6e8768b6945d0dd86b;p=zefram%2Fminetest%2Fminetest_engine.git Don't see through nodes without noclip privileges --- diff --git a/src/clientmap.cpp b/src/clientmap.cpp index 800549a3..0b30453b 100644 --- a/src/clientmap.cpp +++ b/src/clientmap.cpp @@ -864,7 +864,7 @@ void ClientMap::renderPostFx() // - If the player is in liquid, draw a semi-transparent overlay. const ContentFeatures& features = nodemgr->get(n); video::SColor post_effect_color = features.post_effect_color; - if(features.solidness == 2 && g_settings->getBool("free_move") == false) + if(features.solidness == 2 && !(g_settings->getBool("noclip") && m_gamedef->checkLocalPrivilege("noclip"))) { post_effect_color = video::SColor(255, 0, 0, 0); }