diff --git a/apps/openmw/mwmp/Networking.cpp b/apps/openmw/mwmp/Networking.cpp index e56d14f79..05488512d 100644 --- a/apps/openmw/mwmp/Networking.cpp +++ b/apps/openmw/mwmp/Networking.cpp @@ -85,7 +85,7 @@ void Networking::Update() 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); MWBase::Environment::get().getStateManager()->requestQuit(); }