Fixed some oddities with TUNES.

(cherry picked from commit a4d05350f711db76676e9b48c36d88bd7dbec274)
This commit is contained in:
Inuyasha 2016-01-08 03:23:05 -08:00
parent 1203b0aa73
commit 04d112276e

View file

@ -3788,7 +3788,7 @@ static void Command_Tunes_f(void)
tunearg = mapheaderinfo[gamemap-1]->musname;
track = mapheaderinfo[gamemap-1]->mustrack;
}
else if (tunearg[3] == 0 && toupper(tunearg[0]) >= 'A' && toupper(tunearg[0]) <= 'Z')
else if (!tunearg[2] && toupper(tunearg[0]) >= 'A' && toupper(tunearg[0]) <= 'Z')
tunenum = (UINT16)M_MapNumber(tunearg[0], tunearg[1]);
if (tunenum && tunenum >= 1036)