From: cloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Sat, 15 Aug 2020 01:53:00 +0000 (+0000)
Subject: host: Host_StartVideo *before* Host_AddConfigText. Fixes Steel Storm crash... again.
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=66463b49830b6626ce9ff7fe5921e4964a26e046;p=xonotic%2Fdarkplaces.git

host: Host_StartVideo *before* Host_AddConfigText. Fixes Steel Storm crash... again.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12904 d7cf8633-e32d-0410-b094-e92efae38249
---

diff --git a/host.c b/host.c
index cf102463..793fd0eb 100644
--- 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"))
 	{