mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix some oversights caused by the Goner Setup's access to various Options menus
This commit is contained in:
parent
94a341b629
commit
9d24a4cb6d
2 changed files with 8 additions and 8 deletions
|
|
@ -375,7 +375,13 @@ void M_GonerHidePassword(void)
|
|||
|
||||
void M_GonerResetLooking(int type)
|
||||
{
|
||||
if (goner_youactuallylooked > 2*TICRATE
|
||||
if (type == GDGONER_VIDEO)
|
||||
OPTIONS_MainDef.lastOn = mopt_video;
|
||||
else if (type == GDGONER_SOUND)
|
||||
OPTIONS_MainDef.lastOn = mopt_sound;
|
||||
else if (type == GDGONER_PROFILE)
|
||||
OPTIONS_MainDef.lastOn = mopt_profiles;
|
||||
else if (goner_youactuallylooked > 2*TICRATE
|
||||
&& goner_lasttypelooking == gamedata->gonerlevel)
|
||||
{
|
||||
if (goner_levelworking > gamedata->gonerlevel)
|
||||
|
|
@ -386,12 +392,6 @@ void M_GonerResetLooking(int type)
|
|||
|
||||
goner_lasttypelooking = static_cast<gdgoner_t>(type);
|
||||
goner_youactuallylooked = 0;
|
||||
if (type == GDGONER_VIDEO)
|
||||
OPTIONS_MainDef.lastOn = mopt_video;
|
||||
else if (type == GDGONER_SOUND)
|
||||
OPTIONS_MainDef.lastOn = mopt_sound;
|
||||
else
|
||||
OPTIONS_MainDef.lastOn = mopt_profiles;
|
||||
}
|
||||
|
||||
void M_GonerCheckLooking(void)
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ menuitem_t OPTIONS_Main[] =
|
|||
{IT_STRING | IT_CALL, "Video Options", "Change video settings such as the resolution.",
|
||||
NULL, {.routine = M_VideoOptions}, 0, 0},
|
||||
|
||||
{IT_STRING | IT_SUBMENU, "Sound Options", "Adjust various sound settings such as the volume.",
|
||||
{IT_STRING | IT_CALL, "Sound Options", "Adjust various sound settings such as the volume.",
|
||||
NULL, {.routine = M_SoundOptions}, 0, 0},
|
||||
|
||||
{IT_STRING | IT_SUBMENU, "HUD Options", "Options related to the Heads-Up Display.",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue