From 0f7670dd071a5ea6655f573154f9f2b05abf5611 Mon Sep 17 00:00:00 2001 From: Koncord Date: Sat, 10 Sep 2016 13:57:15 +0800 Subject: [PATCH] Add some verbose messages for chat --- apps/openmw/mwmp/GUIChat.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/openmw/mwmp/GUIChat.cpp b/apps/openmw/mwmp/GUIChat.cpp index 875c30855..1e83fd21d 100644 --- a/apps/openmw/mwmp/GUIChat.cpp +++ b/apps/openmw/mwmp/GUIChat.cpp @@ -143,6 +143,9 @@ namespace mwmp windowState++; if (windowState == 3) windowState = 0; + LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Switch chat mode to %s", windowState == CHAT_DISABLED ? "CHAT_DISABLED" : + windowState == CHAT_ENABLED ? "CHAT_ENABLED" : + "CHAT_HIDDENMODE"); switch (windowState) { case CHAT_DISABLED: @@ -177,6 +180,8 @@ namespace mwmp } else // CHAT_ENABLED editState = true; + + LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "%s", "Opening chat."); SetEditState(editState); }