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

Fix log message in Networking::Connect()

This commit is contained in:
Koncord 2016-09-04 16:18:53 +08:00
parent 9a4edff122
commit ab6d6d1cc8

View file

@ -159,7 +159,7 @@ void Networking::Connect(const std::string &ip, unsigned short port)
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();
}