forked from teamnwah/openmw-tes3coop
Use the input manager to enable the dialog
This commit is contained in:
parent
700e379d56
commit
54319b0117
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
#include "../mwworld/world.hpp"
|
||||
#include "../mwworld/refdata.hpp"
|
||||
|
||||
#include "../mwgui/window_manager.hpp"
|
||||
#include "../mwinput/inputmanager.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
@ -275,7 +275,7 @@ namespace MWDialogue
|
|||
// TODO execute script
|
||||
}
|
||||
|
||||
mEnvironment.mWindowManager->setMode (MWGui::GM_Dialogue);
|
||||
mEnvironment.mInputManager->setGuiMode(MWGui::GM_Dialogue);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue