mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 13:21:20 +00:00
Merge branch 'gexunleashed' into 'next'
Fix forcecharacter regressions & crash (resolves #1262) Closes #1262 See merge request STJr/SRB2!2464
This commit is contained in:
commit
7e3a06cbe8
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