[Client] Notify player about current chat mode

0.6.1
Koncord 8 years ago
parent f6a218025a
commit 3372f27f3a

@ -150,9 +150,13 @@ 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");
std::string chatMode = windowState == CHAT_DISABLED ? "Chat disabled" :
windowState == CHAT_ENABLED ? "Chat enabled" :
"Chat in hidden mode";
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Switch chat mode to %s", chatMode.c_str());
MWBase::Environment::get().getWindowManager()->messageBox(chatMode);
switch (windowState)
{
case CHAT_DISABLED:

Loading…
Cancel
Save