mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +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.
|
// Okay, just a list of maps then.
|
||||||
|
|
||||||
boolean invalidatedcursor = (
|
boolean invalidatedcursor = false;
|
||||||
levellist.levelsearch.cup != NULL
|
|
||||||
|| levellist.levelsearch.tutorial != (gt == GT_TUTORIAL)
|
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.cup = NULL;
|
||||||
levellist.levelsearch.tutorial = (gt == GT_TUTORIAL);
|
|
||||||
|
|
||||||
UINT16 test = M_GetFirstLevelInList(&temp, &levellist.levelsearch);
|
UINT16 test = M_GetFirstLevelInList(&temp, &levellist.levelsearch);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue