Skip tagteam characters (ie, Sonic&Tails) for NiGHTS secret map character selection.

This commit is contained in:
toaster 2019-11-25 16:55:06 +00:00
parent 5cf803f7d0
commit fc407cf6ce
1 changed files with 2 additions and 0 deletions

View File

@ -8350,6 +8350,8 @@ static void M_SetupChoosePlayer(INT32 choice)
if (and)
{
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));
firstskin[(and - description[i].skinname)] = '\0';
description[i].skinnum[0] = R_SkinAvailable(firstskin);