mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 06:41:59 +00:00
- fixed: For the episode and skill menu, autoselection for single entries did not work.
This commit is contained in:
parent
1637157f46
commit
ef15ac8b6e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue