mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
When dialogue goodbye is forced, allow using either the red link or the goodbye button
Fixes #1373
This commit is contained in:
parent
7c9c0830a9
commit
dcc0e2d105
1 changed files with 3 additions and 2 deletions
|
@ -271,7 +271,8 @@ namespace MWGui
|
|||
|
||||
void DialogueWindow::exit()
|
||||
{
|
||||
if (!mEnabled || MWBase::Environment::get().getDialogueManager()->isInChoice())
|
||||
if ((!mEnabled || MWBase::Environment::get().getDialogueManager()->isInChoice())
|
||||
&& !mGoodbye)
|
||||
return;
|
||||
MWBase::Environment::get().getDialogueManager()->goodbyeSelected();
|
||||
}
|
||||
|
@ -517,7 +518,7 @@ namespace MWGui
|
|||
|
||||
MyGUI::Button* byeButton;
|
||||
getWidget(byeButton, "ByeButton");
|
||||
if(MWBase::Environment::get().getDialogueManager()->isInChoice()) {
|
||||
if(MWBase::Environment::get().getDialogueManager()->isInChoice() && !mGoodbye) {
|
||||
byeButton->setEnabled(false);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue