[nexuiz-commits] r7495 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Aug 22 14:18:39 EDT 2009
Author: mand1nga
Date: 2009-08-22 14:18:38 -0400 (Sat, 22 Aug 2009)
New Revision: 7495
Modified:
trunk/data/qcsrc/server/teamplay.qc
Log:
Disable temporarily bot_vs_human when qty of teams > 2
Modified: trunk/data/qcsrc/server/teamplay.qc
===================================================================
--- trunk/data/qcsrc/server/teamplay.qc 2009-08-22 14:29:15 UTC (rev 7494)
+++ trunk/data/qcsrc/server/teamplay.qc 2009-08-22 18:18:38 UTC (rev 7495)
@@ -646,27 +646,20 @@
if(!(g_domination && head.netname == ""))
{
if(head.team == COLOR_TEAM1)
- {
c1 = 0;
- }
- if(head.team == COLOR_TEAM2)
- {
+ else if(head.team == COLOR_TEAM2)
c2 = 0;
- }
- if(head.team == COLOR_TEAM3)
- {
+ else if(head.team == COLOR_TEAM3)
c3 = 0;
- }
- if(head.team == COLOR_TEAM4)
- {
+ else if(head.team == COLOR_TEAM4)
c4 = 0;
- }
}
head = find(head, classname, teament_name);
}
}
- // TODO: Balance quantity of bots across > 2 teams when bot_vs_human is set
+ // TODO: Balance quantity of bots across > 2 teams when bot_vs_human is set (and remove next line)
+ if(c3==-1&&c4==-1)
if(cvar("bot_vs_human") && for_whom)
{
if(cvar("bot_vs_human") > 0)
More information about the nexuiz-commits
mailing list