mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- fixed SNDINFO parser to actually read new sound definitions.
This commit is contained in:
parent
f6ff02c51e
commit
acfca3fbdc
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue