host.state = host_init;
+ if (setjmp(host.abortframe)) // Huh?!
+ Sys_Error("Engine initialization failed. Check the console (if available) for additional information.\n");
+
if (Sys_CheckParm("-profilegameonly"))
Sys_AllowProfiling(false);
// without crashing the whole game, so this should just be a short-time solution
// here comes the not so critical stuff
- if (setjmp(host.abortframe)) {
- return;
- }
Host_AddConfigText(cmd);
va_start (argptr, format);
dpvsnprintf (errorstring, sizeof(errorstring), format, argptr);
va_end (argptr);
+
+ if (host.framecount < 3)
+ Sys_Error("Menu_Error: %s\n", errorstring);
+
Con_Printf( "Menu_Error: %s\n", errorstring );
if( !processingError ) {
R_SelectScene( RST_CLIENT );
// Let video start at least
- if(host.state != host_init)
- Host_AbortCurrentFrame();
+ Host_AbortCurrentFrame();
}
static void MVM_begin_increase_edicts(prvm_prog_t *prog)