mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
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/world.hpp"
|
||||||
#include "../mwworld/refdata.hpp"
|
#include "../mwworld/refdata.hpp"
|
||||||
|
|
||||||
#include "../mwgui/window_manager.hpp"
|
#include "../mwinput/inputmanager.hpp"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@ -275,7 +275,7 @@ namespace MWDialogue
|
||||||
// TODO execute script
|
// TODO execute script
|
||||||
}
|
}
|
||||||
|
|
||||||
mEnvironment.mWindowManager->setMode (MWGui::GM_Dialogue);
|
mEnvironment.mInputManager->setGuiMode(MWGui::GM_Dialogue);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue