From: RealBadAngel Date: Mon, 5 May 2014 10:37:12 +0000 (+0200) Subject: Move message about missing normal maps to infostream instead of errorstream. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=c80d67f48e2011c88bbb9e755ee4f5e7f5391f63;p=zefram%2Fminetest%2Fminetest_engine.git Move message about missing normal maps to infostream instead of errorstream. --- diff --git a/src/tile.cpp b/src/tile.cpp index 78aa4d94..cff45dc7 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -973,13 +973,19 @@ bool TextureSource::generateImage(std::string part_of_name, video::IImage *& bas } } - if(image == NULL) - { - if(part_of_name != ""){ - errorstream<<"generateImage(): Could not load image \"" + if (image == NULL) { + if (part_of_name != "") { + if (part_of_name.find("_normal.png") == std::string::npos){ + errorstream<<"generateImage(): Could not load image \"" <