mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 20:50:58 +00:00
Skip tagteam characters (ie, Sonic&Tails) for NiGHTS secret map character selection.
This commit is contained in:
parent
5cf803f7d0
commit
fc407cf6ce
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…
Reference in a new issue