rodecomp/Source/Client/ErrorDialog.cpp
2026-10-24 00:35:19 +00:00

11 lines
318 B
C++

#include "Client/ErrorDialog.h"
#include "Render/RenderSystemBase.h"
// OFFSET: 0x00AD6360
// FUNCTION: fn_17828
int ShowErrorDialog(CRenderSystemBase* renderSystem, const char* text, UINT type) {
if (renderSystem) {
renderSystem->PrepareErrorDialog();
}
return MessageBoxA(nullptr, text, "Error", type);
}