- fixed: skipping the skill menu locked up the menu sequence for starting a game.

SVN r2777 (trunk)
This commit is contained in:
Christoph Oelckers 2010-09-14 22:00:02 +00:00
parent 5fcac9b5f1
commit 087979d6cc

View file

@ -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;
} }