From 006f1b3fdfb14ca2b6f4a57e63d41d466b2c489d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 25 Nov 2022 17:31:03 +0100 Subject: [PATCH] - disabled the message for missing sprite set textures. --- source/core/actorinfo.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/core/actorinfo.cpp b/source/core/actorinfo.cpp index 8ab37c5bb..8463c22ec 100644 --- a/source/core/actorinfo.cpp +++ b/source/core/actorinfo.cpp @@ -248,10 +248,8 @@ void FActorInfo::ResolveTextures(const char* clsname, DCoreActor* defaults) for (unsigned i = 0; i < SpriteSet.Size(); i++) { SpriteSet[i] = TileFiles.tileForName(SpriteSetNames[i]); - // This will print some noise in RR. Should later be restricted to user content. -#ifdef _DEBUG - if (SpriteSet[i] == -1) Printf(TEXTCOLOR_RED "Unknown texture '%s' in sprite set for class %s\n", SpriteSetNames[i].GetChars(), clsname); -#endif + // This should later be enabled to user content. + //if (SpriteSet[i] == -1) Printf(TEXTCOLOR_RED "Unknown texture '%s' in sprite set for class %s\n", SpriteSetNames[i].GetChars(), clsname); } if (SpriteSet.Size() > 0) {