mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-25 13:31:55 +00:00
- error out when encountering an unknown $ token in SNSINFO.
No need to preserve this insanity from old ZDoom times.
This commit is contained in:
parent
8e5e52f80e
commit
9379e873b3
1 changed files with 4 additions and 0 deletions
|
@ -425,6 +425,10 @@ static void S_AddSNDINFO (int lump)
|
|||
|
||||
default:
|
||||
{ // Got a logical sound mapping
|
||||
if (sc.String[0] == '$')
|
||||
{
|
||||
sc.ScriptError("%s: Unknown keyword");
|
||||
}
|
||||
FString name (sc.String);
|
||||
if (wantassigns == -1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue