]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix team colors
authorMario <mario.mario@y7mail.com>
Sat, 12 Oct 2013 20:44:14 +0000 (07:44 +1100)
committerMario <mario.mario@y7mail.com>
Sat, 12 Oct 2013 20:44:14 +0000 (07:44 +1100)
qcsrc/common/monsters/sv_monsters.qc

index cf651842a667ef66e1471ab5532f1382ba1166cf..2f67bc0fe47615eda2b16cadb526481f7c3ba82b 100644 (file)
@@ -928,7 +928,7 @@ void monster_setupcolors()
        if(IS_PLAYER(self.monster_owner))
                self.colormap = self.monster_owner.colormap;
        else if(teamplay && self.team)
-               self.colormap = 1024 + self.team * 17;
+               self.colormap = 1024 + (self.team - 1) * 17;
        else
        {
                if(self.monster_skill <= MONSTER_SKILL_EASY)