mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: color Host_Error red to make it more visible in the console
This commit is contained in:
@@ -837,7 +837,7 @@ void GAME_EXPORT Host_Error( const char *error, ... )
|
||||
}
|
||||
else
|
||||
{
|
||||
Con_Printf( "%s: %s", __func__, hosterror1 );
|
||||
Con_Printf( S_RED "%s" S_DEFAULT ": %s", __func__, hosterror1 );
|
||||
if( host.allow_console )
|
||||
{
|
||||
UI_SetActiveMenu( false );
|
||||
@@ -851,7 +851,7 @@ void GAME_EXPORT Host_Error( const char *error, ... )
|
||||
|
||||
if( recursive )
|
||||
{
|
||||
Con_Printf( "%sRecursive: %s", __func__, hosterror2 );
|
||||
Con_Printf( S_RED "%sRecursive" S_DEFAULT ": %s", __func__, hosterror2 );
|
||||
Sys_Error( "%s", hosterror1 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user