mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 21:45:33 +00:00
Fix chat 'y'
Now you can close chat only if pressed 'Enter'.
This commit is contained in:
parent
131887c981
commit
b09e4a0218
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
||||||
#include <apps/openmw/mwbase/environment.hpp>
|
#include <apps/openmw/mwbase/environment.hpp>
|
||||||
#include <apps/openmw/mwgui/windowmanagerimp.hpp>
|
#include <apps/openmw/mwgui/windowmanagerimp.hpp>
|
||||||
#include <apps/openmw/mwinput/inputmanagerimp.hpp>
|
#include <apps/openmw/mwinput/inputmanagerimp.hpp>
|
||||||
|
#include <MyGUI_InputManager.h>
|
||||||
|
|
||||||
#include "../mwbase/environment.hpp"
|
#include "../mwbase/environment.hpp"
|
||||||
#include "../mwbase/windowmanager.hpp"
|
#include "../mwbase/windowmanager.hpp"
|
||||||
|
@ -180,7 +181,7 @@ namespace mwmp
|
||||||
editState = true;
|
editState = true;
|
||||||
}
|
}
|
||||||
else // CHAT_ENABLED
|
else // CHAT_ENABLED
|
||||||
editState = !editState;
|
editState = true;
|
||||||
SetEditState(editState);
|
SetEditState(editState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue