From c80d67f48e2011c88bbb9e755ee4f5e7f5391f63 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Mon, 5 May 2014 12:37:12 +0200 Subject: [PATCH] Move message about missing normal maps to infostream instead of errorstream. --- src/tile.cpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) 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 \"" <