From: Rudolf Polzer Date: Thu, 21 Mar 2013 16:27:15 +0000 (+0100) Subject: fix stupid compile errors, we don't have COLOR_TEAM1 any more... X-Git-Tag: xonotic-v0.7.0~79^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2eb667170068c570763b07108da07c05622a4f93;p=xonotic%2Fxonotic-data.pk3dir.git fix stupid compile errors, we don't have COLOR_TEAM1 any more... --- diff --git a/qcsrc/server/tturrets/units/unit_plasma.qc b/qcsrc/server/tturrets/units/unit_plasma.qc index f03911be9..f4a60e545 100644 --- a/qcsrc/server/tturrets/units/unit_plasma.qc +++ b/qcsrc/server/tturrets/units/unit_plasma.qc @@ -43,16 +43,16 @@ void turret_plasma_minsta_attack (void) { switch(self.team) { - case COLOR_TEAM1: // Red + case NUM_TEAM_1: // Red WarpZone_TrailParticles(world, particleeffectnum("TE_TEI_G3RED"), self.tur_shotorg, v); break; - case COLOR_TEAM2: // Blue + case NUM_TEAM_2: // Blue WarpZone_TrailParticles(world, particleeffectnum("TE_TEI_G3BLUE"), self.tur_shotorg, v); break; - case COLOR_TEAM3: // Yellow + case NUM_TEAM_3: // Yellow WarpZone_TrailParticles(world, particleeffectnum("TE_TEI_G3YELLOW"), self.tur_shotorg, v); break; - case COLOR_TEAM4: // Pink + case NUM_TEAM_4: // Pink WarpZone_TrailParticles(world, particleeffectnum("TE_TEI_G3PINK"), self.tur_shotorg, v); break; }