- fixed: For the episode and skill menu, autoselection for single entries did not work.

This commit is contained in:
Christoph Oelckers 2020-10-13 22:16:43 +02:00
parent 1637157f46
commit ef15ac8b6e

View file

@ -416,7 +416,7 @@ static void BuildEpisodeMenu()
#endif
if (addedVolumes == 1)
{
ld->mAutoselect = 0;
ld->mAutoselect = ld->mItems.Size()-1;
}
if (popped) ld->mItems.Push(popped);
}
@ -454,7 +454,7 @@ static void BuildEpisodeMenu()
}
if (addedSkills == 1)
{
ld->mAutoselect = 0;
ld->mAutoselect = ld->mItems.Size() - 1;
}
if (popped) ld->mItems.Push(popped);
}