From: lordhavoc Date: Thu, 5 Oct 2000 22:53:22 +0000 (+0000) Subject: Clear message buffer before calling ClientConnect, rather than after. X-Git-Tag: RELEASE_0_2_0_RC1~970 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=bcf77da497c3aa980ccaeded69e0966937590350;p=xonotic%2Fdarkplaces.git Clear message buffer before calling ClientConnect, rather than after. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@50 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index d2411048..5f0ab5fb 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -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);