From: ShadowNinja Date: Sat, 9 Feb 2013 21:32:59 +0000 (-0500) Subject: Don't see through nodes without noclip privileges X-Git-Tag: 0.4.5~7^2~42 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=32552fede5b941332819be6e8768b6945d0dd86b;p=oweals%2Fminetest.git Don't see through nodes without noclip privileges --- diff --git a/src/clientmap.cpp b/src/clientmap.cpp index 800549a3b..0b30453b8 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); }