1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 09:32:45 +00:00

Make choices trigger goodbye if Goodbye is used (fixes #3897)

This commit is contained in:
Capostrophic 2018-06-07 22:05:55 +03:00 committed by Capostrophic
parent fb3facde54
commit 1a354f88ac
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,6 @@
0.45.0
------
Feature #3897: Have Goodbye give all choices the effects of Goodbye
Bug #4293: Faction members are not aware of faction ownerships in barter
Bug #4426: RotateWorld behavior is incorrect
Bug #4433: Guard behaviour is incorrect with Alarm = 0

View File

@ -635,6 +635,11 @@ namespace MWGui
void DialogueWindow::onChoiceActivated(int id)
{
if (mGoodbye)
{
onGoodbyeActivated();
return;
}
MWBase::Environment::get().getDialogueManager()->questionAnswered(id, mCallback.get());
updateTopics();
}