mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Make sure to reset setup_player when backing out to not interfere with profile display
This commit is contained in:
parent
2e4a58095a
commit
debc93ff5c
1 changed files with 2 additions and 0 deletions
|
|
@ -2142,6 +2142,7 @@ static boolean M_HandlePressStart(setup_player_t *p, UINT8 num)
|
|||
if (num == 0)
|
||||
{
|
||||
// We're done here.
|
||||
memset(setup_player, 0, sizeof(setup_player)); // Reset this to avoid funky things with profile display.
|
||||
M_GoBack(0);
|
||||
return true;
|
||||
}
|
||||
|
|
@ -2264,6 +2265,7 @@ static boolean M_HandleCharacterGrid(setup_player_t *p, UINT8 num)
|
|||
// we don't want to go to the input detection menu.
|
||||
if (optionsmenu.profile)
|
||||
{
|
||||
memset(setup_player, 0, sizeof(setup_player)); // Reset setup_player otherwise it does some VERY funky things.
|
||||
M_GoBack(0);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue