From: terencehill Date: Tue, 10 Jan 2012 21:45:36 +0000 (+0100) Subject: Fix bots added after round start will never join the game X-Git-Tag: xonotic-v0.6.0~42^2~7^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=04e91e49c2cd7c88300508653e69ec24f4719419;p=xonotic%2Fxonotic-data.pk3dir.git Fix bots added after round start will never join the game --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 09b2b2aac6..f3f1d45e66 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -648,6 +648,8 @@ void PutClientInServer (void) if(clienttype(self) == CLIENTTYPE_BOT) { self.classname = "player"; + if(g_ca) + self.caplayer = 1; } else if(clienttype(self) == CLIENTTYPE_REAL) {