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

0.6.3
Capostrophic 7 years ago committed by Capostrophic
parent fb3facde54
commit 1a354f88ac

@ -1,5 +1,6 @@
0.45.0 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 #4293: Faction members are not aware of faction ownerships in barter
Bug #4426: RotateWorld behavior is incorrect Bug #4426: RotateWorld behavior is incorrect
Bug #4433: Guard behaviour is incorrect with Alarm = 0 Bug #4433: Guard behaviour is incorrect with Alarm = 0

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

Loading…
Cancel
Save