engine: get rid of host.crashed field, as it's a complete duplicate of host.status

This commit is contained in:
Alibek Omarov
2025-04-21 16:59:44 +03:00
parent 0e54200f34
commit c564cc96c7
8 changed files with 7 additions and 12 deletions
-1
View File
@@ -342,7 +342,6 @@ typedef struct host_parm_s
qboolean apply_game_config; // when true apply only to game cvars and ignore all other commands
qboolean apply_opengl_config; // when true apply only to opengl cvars and ignore all other commands
qboolean config_executed; // a bit who indicated was config.cfg already executed e.g. from valve.rc
qboolean crashed; // set to true if crashed
#if XASH_DLL_LOADER
qboolean enabledll;
#endif
+1 -1
View File
@@ -1355,7 +1355,7 @@ int EXPORT Host_Main( int argc, char **argv, const char *progname, int bChangeGa
#endif // XASH_ANDROID
// main window message loop
while( !host.crashed )
while( host.status != HOST_CRASHED )
{
newtime = Sys_DoubleTime ();
COM_Frame( newtime - oldtime );