mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Skip tagteam characters (ie, Sonic&Tails) for NiGHTS secret map character selection.
This commit is contained in:
parent
518976f81d
commit
13ee2476d8
1 changed files with 2 additions and 0 deletions
|
|
@ -8350,6 +8350,8 @@ static void M_SetupChoosePlayer(INT32 choice)
|
||||||
if (and)
|
if (and)
|
||||||
{
|
{
|
||||||
char firstskin[SKINNAMESIZE+1];
|
char firstskin[SKINNAMESIZE+1];
|
||||||
|
if (mapheaderinfo[startmap-1]->typeoflevel & TOL_NIGHTS) // skip tagteam characters for NiGHTS levels
|
||||||
|
continue;
|
||||||
strncpy(firstskin, description[i].skinname, (and - description[i].skinname));
|
strncpy(firstskin, description[i].skinname, (and - description[i].skinname));
|
||||||
firstskin[(and - description[i].skinname)] = '\0';
|
firstskin[(and - description[i].skinname)] = '\0';
|
||||||
description[i].skinnum[0] = R_SkinAvailable(firstskin);
|
description[i].skinnum[0] = R_SkinAvailable(firstskin);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue