From fa75c33390993bd704b5167fbac35a2de740744b Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 21 Apr 2025 16:57:27 +0300 Subject: [PATCH] engine: platform: win32: do not set parent window for stacktrace print window --- engine/platform/win32/crash_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/platform/win32/crash_win.c b/engine/platform/win32/crash_win.c index 29ff20d1..dde4b886 100644 --- a/engine/platform/win32/crash_win.c +++ b/engine/platform/win32/crash_win.c @@ -195,7 +195,7 @@ static void Sys_StackTrace( PEXCEPTION_POINTERS pInfo ) #if XASH_SDL == 2 if( host.type != HOST_DEDICATED ) // let system to restart server automaticly - SDL_ShowSimpleMessageBox( SDL_MESSAGEBOX_ERROR, "Sys_Crash", message, host.hWnd ); + SDL_ShowSimpleMessageBox( SDL_MESSAGEBOX_ERROR, "Sys_Crash", message, NULL ); #endif Sys_PrintLog( message );