r3987 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Jul 31 01:41:55 EDT 2008
Author: div0
Date: 2008-07-31 01:41:55 -0400 (Thu, 31 Jul 2008)
New Revision: 3987
Modified:
trunk/data/qcsrc/server/domination.qc
Log:
fix domination - and what's broken with LMS?
Modified: trunk/data/qcsrc/server/domination.qc
===================================================================
--- trunk/data/qcsrc/server/domination.qc 2008-07-30 17:27:19 UTC (rev 3986)
+++ trunk/data/qcsrc/server/domination.qc 2008-07-31 05:41:55 UTC (rev 3987)
@@ -129,7 +129,7 @@
// give credit to the team
// NOTE: this defaults to 0
- if (self.goalentity.netname)
+ if (self.goalentity.netname != "")
{
fragamt = cvar("g_domination_point_amt");
if(!fragamt)
@@ -238,7 +238,8 @@
self.model = "";
self.modelindex = 0;
// this would have to be changed if used in quakeworld
- self.team = self.cnt + 1;
+ if(self.cnt)
+ self.team = self.cnt + 1; // WHY are these different anyway?
};
void dom_controlpoint_setup()
More information about the nexuiz-commits
mailing list