mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- fixed: skipping the skill menu locked up the menu sequence for starting a game.
SVN r2777 (trunk)
This commit is contained in:
parent
5fcac9b5f1
commit
087979d6cc
1 changed files with 5 additions and 1 deletions
|
@ -1327,7 +1327,11 @@ void M_StartupSkillMenu(FGameStartup *gs)
|
||||||
}
|
}
|
||||||
if (AllEpisodes[gs->Episode].mNoSkill || AllSkills.Size() == 1)
|
if (AllEpisodes[gs->Episode].mNoSkill || AllSkills.Size() == 1)
|
||||||
{
|
{
|
||||||
ld->mAutoselect = MIN(2u, AllEpisodes.Size()-1);
|
ld->mAutoselect = firstitem + MIN(2u, AllEpisodes.Size()-1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ld->mAutoselect = -1;
|
||||||
}
|
}
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue