]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Fix a bug (apparently from Nexuiz) that would cause a bot's team overrider to be...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 23 Sep 2010 16:01:19 +0000 (19:01 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 23 Sep 2010 16:01:19 +0000 (19:01 +0300)
data/qcsrc/server/teamplay.qc

index c829326c3244d55f91efb909be1c93b86e81d42b..c2daf0819b3d4bdf91ea7ad1101633c2aef79341 100644 (file)
@@ -886,7 +886,7 @@ float JoinBestTeam(entity pl, float only_return_best, float forcebestteam)
 \r
        smallest = FindSmallestTeam(pl, TRUE);\r
 \r
-       if(!only_return_best)\r
+       if(!only_return_best && !pl.bot_forced_team)\r
        {\r
                TeamchangeFrags(self);\r
                if(smallest == 1)\r