From 2eb667170068c570763b07108da07c05622a4f93 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 21 Mar 2013 17:27:15 +0100 Subject: [PATCH] fix stupid compile errors, we don't have COLOR_TEAM1 any more... --- qcsrc/server/tturrets/units/unit_plasma.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } -- 2.39.2