mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: fix error_on_exit data type
This commit is contained in:
@@ -53,7 +53,7 @@ GNU General Public License for more details.
|
||||
#include "library.h"
|
||||
#include "whereami.h"
|
||||
|
||||
qboolean error_on_exit = false; // arg for exit();
|
||||
static int error_on_exit = 0; // arg for exit();
|
||||
|
||||
/*
|
||||
================
|
||||
@@ -430,7 +430,7 @@ void Sys_Error( const char *error, ... )
|
||||
// make sure that console received last message
|
||||
if( host.change_game ) Sys_Sleep( 200 );
|
||||
|
||||
error_on_exit = true;
|
||||
error_on_exit = 1;
|
||||
host.status = HOST_ERR_FATAL;
|
||||
va_start( argptr, error );
|
||||
Q_vsnprintf( text, MAX_PRINT_MSG, error, argptr );
|
||||
|
||||
Reference in New Issue
Block a user