1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 21:45:32 +00:00

Fix chat 'y'

Now you can close chat only if pressed 'Enter'.
This commit is contained in:
Stanislav Zhukov 2016-07-13 03:21:30 +08:00
parent 131887c981
commit b09e4a0218

View file

@ -8,6 +8,7 @@
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwgui/windowmanagerimp.hpp>
#include <apps/openmw/mwinput/inputmanagerimp.hpp>
#include <MyGUI_InputManager.h>
#include "../mwbase/environment.hpp"
#include "../mwbase/windowmanager.hpp"
@ -180,7 +181,7 @@ namespace mwmp
editState = true;
}
else // CHAT_ENABLED
editState = !editState;
editState = true;
SetEditState(editState);
}