mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-11 14:44:26 +00:00
engine: system: parent messagebox to main window when dealing with Sys_Error
This commit is contained in:
parent
7584bbe47e
commit
1a0867523d
@ -404,7 +404,7 @@ void Sys_Warn( const char *format, ... )
|
||||
Msg( "Sys_Warn: %s\n", text );
|
||||
|
||||
if( !Host_IsDedicated() ) // dedicated server should not hang on messagebox
|
||||
Platform_MessageBox( "Xash Warning", text, false );
|
||||
Platform_MessageBox( "Xash Warning", text, true );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -449,7 +449,7 @@ void Sys_Error( const char *error, ... )
|
||||
Wcon_ShowConsole( false );
|
||||
#endif
|
||||
Sys_Print( text );
|
||||
Platform_MessageBox( "Xash Error", text, false );
|
||||
Platform_MessageBox( "Xash Error", text, true );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user