mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-04 04:36:21 +00:00
Char select fixes
- Allow input for multiplayer now - Unset all devices in this menu
This commit is contained in:
parent
16730b02ef
commit
e53ad4edf4
1 changed files with 6 additions and 4 deletions
|
|
@ -1899,7 +1899,6 @@ void M_CharacterSelectInit(INT32 choice)
|
|||
}
|
||||
|
||||
memset(setup_player, 0, sizeof(setup_player));
|
||||
//setup_player[0].mdepth = CSSTEP_CHARS;
|
||||
setup_numplayers = 0;
|
||||
|
||||
memset(setup_explosions, 0, sizeof(setup_explosions));
|
||||
|
|
@ -1929,6 +1928,12 @@ void M_CharacterSelectInit(INT32 choice)
|
|||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < MAXSPLITSCREENPLAYERS; i++)
|
||||
{
|
||||
// Un-set all devices upon entering this menu.
|
||||
cv_usejoystick[i].value = -1;
|
||||
}
|
||||
|
||||
PLAY_CharSelectDef.prevMenu = currentMenu;
|
||||
M_SetupNextMenu(&PLAY_CharSelectDef, false);
|
||||
}
|
||||
|
|
@ -2222,9 +2227,6 @@ boolean M_CharacterSelectHandler(INT32 choice)
|
|||
{
|
||||
setup_player_t *p = &setup_player[i];
|
||||
|
||||
if (i > 0)
|
||||
break; // temp
|
||||
|
||||
if (p->delay == 0 && menucmd[i].delay == 0)
|
||||
{
|
||||
switch (p->mdepth)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue