mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 20:26:23 +01:00
fix fatal error messages
This commit is contained in:
@@ -618,3 +618,7 @@ std::string WIN32Window::getPlatformType()
|
||||
return "WIN32-WGL";
|
||||
}
|
||||
|
||||
void WIN32Window::displayFatalError(const std::string& message)
|
||||
{
|
||||
MessageBoxA(m_window, message.c_str(), "FATAL ERROR", MB_OK | MB_ICONERROR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user