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

Add some verbose messages for chat

This commit is contained in:
Koncord 2016-09-10 13:57:15 +08:00
parent babc3230b7
commit 0f7670dd07

View file

@ -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);
}