X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Ftturrets.qc;h=24deed681f68447507443dd458d69a9dab249a2f;hp=6ac004c7b9e003b7cf445d22f15d4cbd3dcf2747;hb=fc0e4c6f26156858a71e0ec62eb974fa11eec2f9;hpb=d5bffe0a0226860335a3293f67ee43a09f8aad0a diff --git a/qcsrc/client/tturrets.qc b/qcsrc/client/tturrets.qc index 6ac004c7b..24deed681 100644 --- a/qcsrc/client/tturrets.qc +++ b/qcsrc/client/tturrets.qc @@ -163,22 +163,22 @@ void turret_changeteam() { switch(self.team - 1) { - case FL_TEAM_1: // Red + case NUM_TEAM_1: // Red self.glowmod = '2 0 0'; self.teamradar_color = '1 0 0'; break; - case FL_TEAM_2: // Blue + case NUM_TEAM_2: // Blue self.glowmod = '0 0 2'; self.teamradar_color = '0 0 1'; break; - case FL_TEAM_3: // Yellow + case NUM_TEAM_3: // Yellow self.glowmod = '1 1 0'; self.teamradar_color = '1 1 0'; break; - case FL_TEAM_4: // Pink + case NUM_TEAM_4: // Pink self.glowmod = '1 0 1'; self.teamradar_color = '1 0 1'; break;