mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +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);
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue