From: havoc Date: Sun, 6 Oct 2002 15:08:22 +0000 (+0000) Subject: fix restart command X-Git-Tag: RELEASE_0_2_0_RC1~143 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a58db43f1ece9f5b017b1b6734d1b13abef568ea;p=xonotic%2Fdarkplaces.git fix restart command git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2511 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index ecb1d317..7233970b 100644 --- a/host.c +++ b/host.c @@ -730,6 +730,9 @@ void _Host_Frame (float time) // process console commands Cbuf_Execute (); + // LordHavoc: map and load are delayed until video is initialized + Host_PerformSpawnServerAndLoadGame(); + NET_Poll(); // if running the server locally, make intentions now @@ -789,9 +792,6 @@ void _Host_Frame (float time) CDAudio_Update(); - // LordHavoc: map and load are delayed until video is initialized - Host_PerformSpawnServerAndLoadGame(); - if (host_speeds.integer) { pass1 = (time1 - time3)*1000000;