- 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
1 changed files with 5 additions and 1 deletions

View File

@ -1327,7 +1327,11 @@ void M_StartupSkillMenu(FGameStartup *gs)
}
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;
}