Merge remote-tracking branch 'origin/Saturn-Next' into Saturn-Testing

This commit is contained in:
Alug committed 2025-08-21 18:33:08 +02:00
commit ba40d45321
1 file changed
+1 -1
+1 -1
View File
@@ -7046,7 +7046,7 @@ static INT32 M_FindFirstMap(INT32 gtype)
{
INT32 i;
if (mapheaderinfo[gamemap] && (mapheaderinfo[gamemap]->typeoflevel & gtype))
if (mapheaderinfo[gamemap-1] && (mapheaderinfo[gamemap-1]->typeoflevel & gtype))
return gamemap;
for (i = 0; i < NUMMAPS; i++)