mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 08:00:56 -04:00
Use the input manager to enable the dialog
This commit is contained in:
parent
700e379d56
commit
54319b0117
@ -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…
x
Reference in New Issue
Block a user