mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-11 21:56:43 +00:00
Tutorial course select: Fix returning to the menu behaviour
This commit is contained in:
parent
6b37f86be0
commit
b95b076bed
1 changed files with 10 additions and 5 deletions
|
|
@ -435,12 +435,17 @@ boolean M_LevelListFromGametype(INT16 gt)
|
|||
|
||||
// Okay, just a list of maps then.
|
||||
|
||||
boolean invalidatedcursor = (
|
||||
levellist.levelsearch.cup != NULL
|
||||
|| levellist.levelsearch.tutorial != (gt == GT_TUTORIAL)
|
||||
);
|
||||
boolean invalidatedcursor = false;
|
||||
|
||||
if (gt != -1)
|
||||
{
|
||||
invalidatedcursor = (
|
||||
levellist.levelsearch.cup != NULL
|
||||
|| levellist.levelsearch.tutorial != (gt == GT_TUTORIAL)
|
||||
);
|
||||
levellist.levelsearch.tutorial = (gt == GT_TUTORIAL);
|
||||
}
|
||||
levellist.levelsearch.cup = NULL;
|
||||
levellist.levelsearch.tutorial = (gt == GT_TUTORIAL);
|
||||
|
||||
UINT16 test = M_GetFirstLevelInList(&temp, &levellist.levelsearch);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue