Merge branch 'map-search-fix' into 'master'

Fix game trying to load nothing when music and sound files are not present.

See merge request KartKrew/Kart-Public!322
This commit is contained in:
Sal 2022-11-12 22:36:17 +00:00
commit 7dcc7aaa2d

View file

@ -1311,7 +1311,7 @@ void D_SRB2Main(void)
//
// search for maps
//
for (wadnum = 4; wadnum < 6; wadnum++) // fucking arbitrary numbers
for (wadnum = 0; wadnum < mainwads; wadnum++)
{
lumpinfo = wadfiles[wadnum]->lumpinfo;
for (i = 0; i < wadfiles[wadnum]->numlumps; i++, lumpinfo++)