]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Also apply glowmod for a cooler ice color
authorterencehill <piuntn@gmail.com>
Tue, 5 Mar 2013 18:12:15 +0000 (19:12 +0100)
committerterencehill <piuntn@gmail.com>
Tue, 5 Mar 2013 18:12:15 +0000 (19:12 +0100)
qcsrc/server/mutators/gamemode_freezetag.qc

index 94c27bc1b813e7f88d499944e459350c7ba9c248..46652e7c2d8393bbf37daf6f26beee39a545ef22 100644 (file)
@@ -208,6 +208,7 @@ void freezetag_Freeze(entity attacker)
        ice.frame = floor(random() * 21); // ice model has 20 different looking frames
        ice.alpha = ICE_MAX_ALPHA;
        ice.colormod = TeamColor(self.team);
+       ice.glowmod = ice.colormod;
        setmodel(ice, "models/ice/ice.md3");
 
        self.freezetag_ice = ice;