]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix stupid compile errors, we don't have COLOR_TEAM1 any more...
authorRudolf Polzer <divverent@xonotic.org>
Thu, 21 Mar 2013 16:27:15 +0000 (17:27 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 21 Mar 2013 16:27:15 +0000 (17:27 +0100)
qcsrc/server/tturrets/units/unit_plasma.qc

index f03911be9e6ecea9cd16f41817917964157689d7..f4a60e545a12163a9d14b894d8804106a5f63ead 100644 (file)
@@ -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;
            }