r2243 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Mar 17 10:07:45 EDT 2007
Author: div0
Date: 2007-03-17 10:07:45 -0400 (Sat, 17 Mar 2007)
New Revision: 2243
Modified:
trunk/data/qcsrc/server/teamplay.qc
Log:
can't do this with that parameter... can't depend on the player to add, won't work mathematically
Modified: trunk/data/qcsrc/server/teamplay.qc
===================================================================
--- trunk/data/qcsrc/server/teamplay.qc 2007-03-17 11:49:19 UTC (rev 2242)
+++ trunk/data/qcsrc/server/teamplay.qc 2007-03-17 14:07:45 UTC (rev 2243)
@@ -547,7 +547,7 @@
}
}
-float PlayerValue(entity p, entity to)
+float PlayerValue(entity p)
{
if(IsTeamBalanceForced())
return 1;
@@ -570,7 +570,7 @@
{
if(head != ignore)// && head.netname != "")
{
- value = PlayerValue(head, ignore);
+ value = PlayerValue(head);
if(head.team == COLOR_TEAM1)
{
if(c1 >= 0)
More information about the nexuiz-commits
mailing list