mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 10:51:42 +00:00
Fix device being wrongly unset for P1 when beginning charsel with anything besides keyboard, oops
This commit is contained in:
parent
79831b46cc
commit
5f8eaaf41b
1 changed files with 1 additions and 9 deletions
|
|
@ -2961,14 +2961,6 @@ static void M_MPConfirmCharacterSelection(void)
|
||||||
M_ClearMenus(true);
|
M_ClearMenus(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void M_MPConfirmCharacterResponse(INT32 ch)
|
|
||||||
{
|
|
||||||
if (ch == MA_YES)
|
|
||||||
M_MPConfirmCharacterSelection();
|
|
||||||
|
|
||||||
M_ClearMenus(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
void M_CharacterSelectTick(void)
|
void M_CharacterSelectTick(void)
|
||||||
{
|
{
|
||||||
UINT8 i;
|
UINT8 i;
|
||||||
|
|
@ -3038,7 +3030,7 @@ void M_CharacterSelectTick(void)
|
||||||
CV_StealthSetValue(&cv_splitplayers, setup_numplayers);
|
CV_StealthSetValue(&cv_splitplayers, setup_numplayers);
|
||||||
|
|
||||||
// P1 is alone, set their old device just in case.
|
// P1 is alone, set their old device just in case.
|
||||||
if (setup_numplayers < 2)
|
if (setup_numplayers < 2 && setup_player[0].ponedevice)
|
||||||
CV_StealthSetValue(&cv_usejoystick[0], setup_player[0].ponedevice);
|
CV_StealthSetValue(&cv_usejoystick[0], setup_player[0].ponedevice);
|
||||||
|
|
||||||
M_SetupNextMenu(&PLAY_MainDef, false);
|
M_SetupNextMenu(&PLAY_MainDef, false);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue