From: terencehill Date: Sun, 8 Jan 2012 21:45:13 +0000 (+0100) Subject: If (g_ca && !allowed_to_spawn) is true self.classname is set as "observer" just befor... X-Git-Tag: xonotic-v0.6.0~42^2~7^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d9033768484549f0692fa8b4971e4147a5db0a64;p=xonotic%2Fxonotic-data.pk3dir.git If (g_ca && !allowed_to_spawn) is true self.classname is set as "observer" just before, so remove this unneeded check --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 08d513fcf..09b2b2aac 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -914,7 +914,7 @@ void PutClientInServer (void) self.alivetime = time; antilag_clear(self); - } else if(self.classname == "observer" || (g_ca && !allowed_to_spawn)) { + } else if(self.classname == "observer") { PutObserverInServer (); }