]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
Host_Main improvements. Workaround to avoid crash with +map no longer needed.
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 0d33ce2d88390e7553555181adb90e3159548711..7959dd570c762feb193d399ad7cedf37e0a2a387 100644 (file)
--- a/host.c
+++ b/host.c
@@ -1286,8 +1286,6 @@ static void Host_Init (void)
 
        Host_AddConfigText(cmd);
 
-       Host_StartVideo();
-
        // if quake.rc is missing, use default
        if (!FS_FileExists("quake.rc"))
        {
@@ -1297,10 +1295,6 @@ static void Host_Init (void)
 
        host.state = host_active;
 
-       // run stuffcmds now, deferred previously because it can crash if a server starts that early
-       Cbuf_AddText(cmd,"stuffcmds\n");
-       Cbuf_Execute(cmd);
-
        Log_Start();
        
        // put up the loading image so the user doesn't stare at a black screen...