mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 05:11:08 +00:00
Fix forcecharacter regressions & crash (resolves #1262)
This commit is contained in:
parent
a75fbd229e
commit
1f71ecdc80
1 changed files with 8 additions and 8 deletions
|
@ -263,7 +263,7 @@ static void M_ConfirmTeamScramble(INT32 choice);
|
|||
static void M_ConfirmTeamChange(INT32 choice);
|
||||
static void M_SecretsMenu(INT32 choice);
|
||||
static void M_SetupChoosePlayer(INT32 choice);
|
||||
static UINT16 M_SetupChoosePlayerDirect(INT32 choice);
|
||||
static INT32 M_SetupChoosePlayerDirect(INT32 choice);
|
||||
static void M_QuitSRB2(INT32 choice);
|
||||
menu_t SP_MainDef, OP_MainDef;
|
||||
menu_t MISC_ScrambleTeamDef, MISC_ChangeTeamDef;
|
||||
|
@ -9072,7 +9072,7 @@ static void M_CacheCharacterSelectEntry(INT32 i, INT32 skinnum)
|
|||
description[i].namepic = W_CachePatchName(description[i].nametag, PU_PATCH);
|
||||
}
|
||||
|
||||
static UINT16 M_SetupChoosePlayerDirect(INT32 choice)
|
||||
static INT32 M_SetupChoosePlayerDirect(INT32 choice)
|
||||
{
|
||||
INT32 skinnum, botskinnum;
|
||||
UINT16 i;
|
||||
|
@ -9161,7 +9161,7 @@ static UINT16 M_SetupChoosePlayerDirect(INT32 choice)
|
|||
|
||||
static void M_SetupChoosePlayer(INT32 choice)
|
||||
{
|
||||
UINT16 skinset = M_SetupChoosePlayerDirect(choice);
|
||||
INT32 skinset = M_SetupChoosePlayerDirect(choice);
|
||||
if (skinset != MAXCHARACTERSLOTS)
|
||||
{
|
||||
M_ChoosePlayer(skinset);
|
||||
|
|
Loading…
Reference in a new issue