mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
Use ScriptMessage to warn about missing patches in a TEXTURES texture
This commit is contained in:
parent
4a295dfa3d
commit
8a03b99b9c
1 changed files with 1 additions and 1 deletions
|
@ -1023,7 +1023,7 @@ void FMultiPatchTexture::ParsePatch(FScanner &sc, TexPart & part, bool silent, i
|
||||||
}
|
}
|
||||||
if (part.Texture == NULL)
|
if (part.Texture == NULL)
|
||||||
{
|
{
|
||||||
if (!silent) Printf(TEXTCOLOR_RED "Unknown patch '%s' in texture '%s'\n", sc.String, Name.GetChars());
|
if (!silent) sc.ScriptMessage(TEXTCOLOR_RED "Unknown patch '%s' in texture '%s'\n", sc.String, Name.GetChars());
|
||||||
}
|
}
|
||||||
sc.MustGetStringName(",");
|
sc.MustGetStringName(",");
|
||||||
sc.MustGetNumber();
|
sc.MustGetNumber();
|
||||||
|
|
Loading…
Reference in a new issue