mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-04 14:43:06 +00:00
Fix controller selection of nested dialog choices
This commit is contained in:
parent
50e5863749
commit
2905ed5fb1
1 changed files with 1 additions and 1 deletions
|
|
@ -969,7 +969,7 @@ namespace MWGui
|
|||
if (mChoices.size() > 0)
|
||||
{
|
||||
if (mControllerChoice >= 0 && mControllerChoice < static_cast<int>(mChoices.size()))
|
||||
onChoiceActivated(mControllerChoice + 1); // +1 because choices are indexed starting at 1
|
||||
onChoiceActivated(mChoices[mControllerChoice].second);
|
||||
}
|
||||
else if (mControllerFocus == static_cast<int>(mTopicsList->getItemCount()))
|
||||
onGoodbyeActivated();
|
||||
|
|
|
|||
Loading…
Reference in a new issue