- disabled the message for missing sprite set textures.

This commit is contained in:
Christoph Oelckers 2022-11-25 17:31:03 +01:00
parent c7cdf96a62
commit 006f1b3fdf

View file

@ -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)
{