From bded697f07ffc1fa0dc7eb6c1700e413483b0f20 Mon Sep 17 00:00:00 2001 From: Capostrophic <21265616+Capostrophic@users.noreply.github.com> Date: Fri, 6 Jul 2018 19:38:36 +0300 Subject: [PATCH] Make Goodbye block using hyperlinks --- apps/openmw/mwgui/dialogue.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/openmw/mwgui/dialogue.cpp b/apps/openmw/mwgui/dialogue.cpp index 450799f29..f4fe54917 100644 --- a/apps/openmw/mwgui/dialogue.cpp +++ b/apps/openmw/mwgui/dialogue.cpp @@ -629,6 +629,9 @@ namespace MWGui void DialogueWindow::onTopicActivated(const std::string &topicId) { + if (mGoodbye) + return; + MWBase::Environment::get().getDialogueManager()->keywordSelected(topicId, mCallback.get()); updateTopics(); }