mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: common: throw an error message into log in normal mode too!
This commit is contained in:
parent
e97310c441
commit
ebf3877cda
@ -435,6 +435,7 @@ void Sys_Error( const char *error, ... )
|
|||||||
Wcon_ShowConsole( false );
|
Wcon_ShowConsole( false );
|
||||||
#endif
|
#endif
|
||||||
MSGBOX( text );
|
MSGBOX( text );
|
||||||
|
Sys_Print( text );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -445,7 +446,7 @@ void Sys_Error( const char *error, ... )
|
|||||||
Sys_Print( text ); // print error message
|
Sys_Print( text ); // print error message
|
||||||
Sys_WaitForQuit();
|
Sys_WaitForQuit();
|
||||||
}
|
}
|
||||||
|
|
||||||
Sys_Quit();
|
Sys_Quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user