]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Clear message buffer before calling ClientConnect, rather than after.
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 5 Oct 2000 22:53:22 +0000 (22:53 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 5 Oct 2000 22:53:22 +0000 (22:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@50 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index d2411048a8f5e11d0e68b64bb2eefe9783bd6bcc..5f0ab5fb2a0d428bab9eb7fc6593faae3b76a0e7 100644 (file)
@@ -1006,6 +1006,10 @@ void Host_Spawn_f (void)
                return;
        }
 
+       // LordHavoc: moved this above the QC calls at FrikaC's request
+// send all current names, colors, and frag counts
+       SZ_Clear (&host_client->message);
+
 // run the entrance script
        if (sv.loadgame)
        {       // loaded games are fully inited allready
@@ -1052,9 +1056,6 @@ void Host_Spawn_f (void)
        }
 
 
-// send all current names, colors, and frag counts
-       SZ_Clear (&host_client->message);
-
 // send time of update
        MSG_WriteByte (&host_client->message, svc_time);
        MSG_WriteFloat (&host_client->message, sv.time);