|
|
|
@ -432,6 +432,28 @@ long _stdcall Sys_Crash( PEXCEPTION_POINTERS pInfo )
@@ -432,6 +432,28 @@ long _stdcall Sys_Crash( PEXCEPTION_POINTERS pInfo )
|
|
|
|
|
return EXCEPTION_CONTINUE_EXECUTION; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
================ |
|
|
|
|
Sys_Warn |
|
|
|
|
|
|
|
|
|
Just messagebox |
|
|
|
|
================ |
|
|
|
|
*/ |
|
|
|
|
void Sys_Warn( const char *format, ... ) |
|
|
|
|
{ |
|
|
|
|
va_list argptr; |
|
|
|
|
char text[MAX_SYSPATH]; |
|
|
|
|
|
|
|
|
|
DEBUG_BREAK; |
|
|
|
|
|
|
|
|
|
va_start( argptr, format ); |
|
|
|
|
Q_vsnprintf( text, MAX_SYSPATH, format, argptr ); |
|
|
|
|
va_end( argptr ); |
|
|
|
|
Msg( "Sys_Warn: %s\n", text ); |
|
|
|
|
if( !Host_IsDedicated() ) // dedicated server should not hang on messagebox
|
|
|
|
|
MSGBOX(text); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
================ |
|
|
|
|
Sys_Error |
|
|
|
|