mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-01 05:20:43 +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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sc.String[0] == '$')
|
int cmd;
|
||||||
|
if (sc.String[0] == '$') cmd = sc.MatchString(SICommandStrings);
|
||||||
|
else cmd = -1;
|
||||||
{ // Got a command
|
{ // Got a command
|
||||||
switch (sc.MatchString (SICommandStrings))
|
switch (cmd)
|
||||||
{
|
{
|
||||||
case SI_MusicVolume: {
|
case SI_MusicVolume: {
|
||||||
sc.MustGetString();
|
sc.MustGetString();
|
||||||
|
|
Loading…
Reference in a new issue