From b09e4a0218b2744235d6fa623f95d57d6ec6fa84 Mon Sep 17 00:00:00 2001 From: Stanislav Zhukov Date: Wed, 13 Jul 2016 03:21:30 +0800 Subject: [PATCH] Fix chat 'y' Now you can close chat only if pressed 'Enter'. --- apps/openmw/mwmp/GUIChat.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwmp/GUIChat.cpp b/apps/openmw/mwmp/GUIChat.cpp index 7c63c45d7..6c4c46199 100644 --- a/apps/openmw/mwmp/GUIChat.cpp +++ b/apps/openmw/mwmp/GUIChat.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #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); }