]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_weapons.qc
Nah, why else?
[voretournament/voretournament.git] / data / qcsrc / server / cl_weapons.qc
index 10becd6850f6a31777b80d353a05492baa746394..3bd7846b89ea4399e8be8d13d05645a0cb2afc92 100644 (file)
@@ -192,6 +192,7 @@ string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vecto
                self = oldself;\r
                if(startitem_failed)\r
                        return string_null;\r
+               wep.colormod = wep.owner.colormod; // used by the regurgitating colors\r
                wep.think = thrown_wep_think;\r
                wep.nextthink = time + 0.5;\r
                return "";\r
@@ -220,6 +221,7 @@ string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vecto
                        }\r
                        s = substring(s, 5, -1);\r
                }\r
+               wep.colormod = wep.owner.colormod; // used by the regurgitating colors\r
                wep.think = thrown_wep_think;\r
                wep.nextthink = time + 0.5;\r
                return s;\r