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

Fix log message in Networking::Update()

This commit is contained in:
Koncord 2016-09-04 16:02:54 +08:00
parent 31c372a0e7
commit d110834ee7

View file

@ -85,7 +85,7 @@ void Networking::Update()
if (!errmsg.empty()) { if (!errmsg.empty()) {
LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, "%s", errmsg); LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, "%s", errmsg.c_str());
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "tes3mp", errmsg.c_str(), 0); SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "tes3mp", errmsg.c_str(), 0);
MWBase::Environment::get().getStateManager()->requestQuit(); MWBase::Environment::get().getStateManager()->requestQuit();
} }