mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-03 07:22:10 +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;
|
continue;
|
||||||
if (mapheaderinfo[i]->typeoflevel & TOL_VERSUS)
|
if (mapheaderinfo[i]->typeoflevel & TOL_VERSUS)
|
||||||
continue;
|
continue;
|
||||||
|
if (!strcmp(mapheaderinfo[i]->lumpname, "RR_HIDDENPALACE"))
|
||||||
|
continue;
|
||||||
mapheaderinfo[i]->records.mapvisited |= GD_MV_SET;
|
mapheaderinfo[i]->records.mapvisited |= GD_MV_SET;
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
|
|
@ -333,12 +335,12 @@ void f_maps()
|
||||||
if (success)
|
if (success)
|
||||||
{
|
{
|
||||||
S_StartSound(0, sfx_kc42);
|
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();
|
G_SaveGameData();
|
||||||
}
|
}
|
||||||
else
|
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