From e42f1bbc11cadcd2ffe672c78ccde52e452d6bd5 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Wed, 18 Aug 2010 09:19:16 +0200 Subject: [PATCH] open dialogue window, if a matching greetings info record is found --- apps/openmw/mwdialogue/dialoguemanager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwdialogue/dialoguemanager.cpp b/apps/openmw/mwdialogue/dialoguemanager.cpp index cbb48c6db2..85a9559925 100644 --- a/apps/openmw/mwdialogue/dialoguemanager.cpp +++ b/apps/openmw/mwdialogue/dialoguemanager.cpp @@ -14,6 +14,8 @@ #include "../mwworld/world.hpp" #include "../mwworld/refdata.hpp" +#include "../mwgui/window_manager.hpp" + #include namespace @@ -270,7 +272,7 @@ namespace MWDialogue // TODO execute script } - break; + mEnvironment.mWindowManager->setMode (MWGui::GM_Dialogue); } } }