Merge pull request #486 from testman42/patch-2

Use more descriptive terminology for chat modes
experimental-mono
David Cernat 6 years ago committed by GitHub
commit ef80894c5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -162,9 +162,9 @@ namespace mwmp
windowState++; windowState++;
if (windowState == 3) windowState = 0; if (windowState == 3) windowState = 0;
std::string chatMode = windowState == CHAT_DISABLED ? "Chat disabled" : std::string chatMode = windowState == CHAT_DISABLED ? "Chat hidden" :
windowState == CHAT_ENABLED ? "Chat enabled" : windowState == CHAT_ENABLED ? "Chat visible" :
"Chat in hidden mode"; "Chat appearing when needed";
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Switch chat mode to %s", chatMode.c_str()); LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Switch chat mode to %s", chatMode.c_str());
MWBase::Environment::get().getWindowManager()->messageBox(chatMode); MWBase::Environment::get().getWindowManager()->messageBox(chatMode);

Loading…
Cancel
Save