mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +00:00
- fixed incorrect error method call in decal parser.
This commit is contained in:
parent
9bfd676783
commit
5515cb02a6
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ WORD FDecalLib::GetDecalID (FScanner &sc)
|
||||||
unsigned long num = strtoul (sc.String, NULL, 10);
|
unsigned long num = strtoul (sc.String, NULL, 10);
|
||||||
if (num < 1 || num > 65535)
|
if (num < 1 || num > 65535)
|
||||||
{
|
{
|
||||||
sc.MustGetStringName ("Decal ID must be between 1 and 65535");
|
sc.ScriptError ("Decal ID must be between 1 and 65535");
|
||||||
}
|
}
|
||||||
return (WORD)num;
|
return (WORD)num;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue