mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-30 03:32:36 +00:00
Make choices trigger goodbye if Goodbye is used (fixes #3897)
This commit is contained in:
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…
x
Reference in New Issue
Block a user