Browse Source

engine: common: throw an error message into log in normal mode too!

pull/2/head
Alibek Omarov 2 years ago
parent
commit
ebf3877cda
  1. 3
      engine/common/system.c

3
engine/common/system.c

@ -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…
Cancel
Save