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-Tag: 0.4.10~139 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=c80d67f48e2011c88bbb9e755ee4f5e7f5391f63;p=minetest.git Move message about missing normal maps to infostream instead of errorstream. --- diff --git a/src/tile.cpp b/src/tile.cpp index 78aa4d946..cff45dc76 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 \"" <