mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-01 00:41:16 +00:00
Exclude something special from f_maps
This commit is contained in:
parent
217fe023ef
commit
8aa58e3e88
1 changed files with 4 additions and 2 deletions
|
|
@ -325,6 +325,8 @@ void f_maps()
|
|||
continue;
|
||||
if (mapheaderinfo[i]->typeoflevel & TOL_VERSUS)
|
||||
continue;
|
||||
if (!strcmp(mapheaderinfo[i]->lumpname, "RR_HIDDENPALACE"))
|
||||
continue;
|
||||
mapheaderinfo[i]->records.mapvisited |= GD_MV_SET;
|
||||
success = true;
|
||||
}
|
||||
|
|
@ -333,12 +335,12 @@ void f_maps()
|
|||
if (success)
|
||||
{
|
||||
S_StartSound(0, sfx_kc42);
|
||||
M_StartMessage("// FIXME don't crash in certification test", "Unlocked all maps. Go see the world!", NULL, MM_NOTHING, NULL, NULL);
|
||||
M_StartMessage("// FIXME don't crash in certification test", "Unlocked most maps. Go see the world!", NULL, MM_NOTHING, NULL, NULL);
|
||||
G_SaveGameData();
|
||||
}
|
||||
else
|
||||
{
|
||||
M_StartMessage("// FIXME don't crash in certification test", "You've already unlocked all maps.", NULL, MM_NOTHING, NULL, NULL);
|
||||
M_StartMessage("// FIXME don't crash in certification test", "There are no maps to unlock.", NULL, MM_NOTHING, NULL, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue