engine: common: throw an error message into log in normal mode too!
This commit is contained in:
parent
e97310c441
commit
ebf3877cda
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue