]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
moved sendsignon = true back to where it was, as it is directly related to the messag...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Feb 2006 19:43:45 +0000 (19:43 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Feb 2006 19:43:45 +0000 (19:43 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5975 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index d816a7f3b674c2227f063e23a4088d2907a69ca0..f5f5fcc44ba9cb47b6afc90d26499b3251e19fd0 100644 (file)
@@ -1356,8 +1356,6 @@ void Host_Spawn_f (void)
                PRVM_ExecuteProgram (prog->globals.server->PutClientInServer, "QC function PutClientInServer is missing");
        }
 
-       host_client->sendsignon = true;
-
        if (!host_client->netconnection)
                return;
 
@@ -1423,6 +1421,8 @@ void Host_Spawn_f (void)
 
        MSG_WriteByte (&host_client->netconnection->message, svc_signonnum);
        MSG_WriteByte (&host_client->netconnection->message, 3);
+
+       host_client->sendsignon = true;
 }
 
 /*