From 70f5ab52cf2275e14f9adfb5572fece81bb89b7a Mon Sep 17 00:00:00 2001 From: div0 Date: Thu, 31 Jul 2008 05:41:55 +0000 Subject: [PATCH] fix domination - and what's broken with LMS? git-svn-id: svn://svn.icculus.org/nexuiz/trunk@3987 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/server/domination.qc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/qcsrc/server/domination.qc b/data/qcsrc/server/domination.qc index cb52bc144..1b30cc478 100644 --- a/data/qcsrc/server/domination.qc +++ b/data/qcsrc/server/domination.qc @@ -129,7 +129,7 @@ void dompointthink() // 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 @@ void spawnfunc_dom_team() 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() -- 2.39.2