]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_weaponsystem.qc
Do the same for thrown weapons, and remove useless checks. Again, if someone else...
[voretournament/voretournament.git] / data / qcsrc / server / cl_weaponsystem.qc
index 76ea196e3baaa9ad721f580c98d69613ed7fc54e..dfe547657b964cd614f3ee6cb15ca347fcf47c3a 100644 (file)
@@ -578,6 +578,7 @@ void CL_Weaponentity_Think()
                self.weaponentity.effects = self.effects;\r
                self.weaponentity.alpha = self.alpha;\r
                self.weaponentity.colormap = self.colormap;\r
+               self.weaponentity.colormod = self.owner.colormod; // used by the regurgitating colors\r
        }\r
 \r
        self.angles = '0 0 0';\r
@@ -788,6 +789,7 @@ void CL_ExteriorWeaponentity_Think()
                self.alpha = self.owner.alpha;\r
        else\r
                self.alpha = 1;\r
+       self.colormod = self.owner.colormod; // used by the regurgitating colors\r
 \r
        ang_x = bound(sv_pitch_min, self.owner.v_angle_x, sv_pitch_max);\r
        ang_y = 0;\r