]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
host: Host_StartVideo *before* Host_AddConfigText. Fixes Steel Storm crash... again.
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Aug 2020 01:53:00 +0000 (01:53 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Aug 2020 01:53:00 +0000 (01:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12904 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index cf102463e96a6501ea8ec7006e137b714c959cb2..793fd0eb747a2bef5c1ddcb488d8d2f6a85f56f3 100644 (file)
--- a/host.c
+++ b/host.c
@@ -721,10 +721,10 @@ static void Host_Init (void)
                return;
        }
 
-       Host_AddConfigText(cmd);
-
        Host_StartVideo();
 
+       Host_AddConfigText(cmd);
+
        // if quake.rc is missing, use default
        if (!FS_FileExists("quake.rc"))
        {