- fixed SNDINFO parser to actually read new sound definitions.

This commit is contained in:
Christoph Oelckers 2023-01-18 06:57:52 +01:00
parent f6ff02c51e
commit acfca3fbdc

View file

@ -180,9 +180,11 @@ static void S_AddSNDINFO (int lump)
continue;
}
if (sc.String[0] == '$')
int cmd;
if (sc.String[0] == '$') cmd = sc.MatchString(SICommandStrings);
else cmd = -1;
{ // Got a command
switch (sc.MatchString (SICommandStrings))
switch (cmd)
{
case SI_MusicVolume: {
sc.MustGetString();