]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove also this redundant check since classname is turned into observer if !allowed_...
authorterencehill <piuntn@gmail.com>
Tue, 25 Dec 2012 15:56:22 +0000 (16:56 +0100)
committerterencehill <piuntn@gmail.com>
Tue, 25 Dec 2012 15:56:22 +0000 (16:56 +0100)
qcsrc/server/cl_client.qc

index 306e40f8675b6364078b2865d165abf03cd2af2f..60582fecfd8c54be295b21d4badfe59f1fb10d21 100644 (file)
@@ -672,7 +672,7 @@ void PutClientInServer (void)
        if(gameover)
                self.classname = "observer";
 
-       if(self.classname == "player" && (!g_ca || (g_ca && allowed_to_spawn))) {
+       if(self.classname == "player") {
                entity spot, oldself;
                float j;