From: MirceaKitsune Date: Thu, 2 Sep 2010 21:44:48 +0000 (+0300) Subject: Fix some mistakes X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=89189c21f025de0d68e0a8bdc98d56f6dedbf57d;p=voretournament%2Fvoretournament.git Fix some mistakes --- diff --git a/data/qcsrc/server/cl_weaponsystem.qc b/data/qcsrc/server/cl_weaponsystem.qc index 6594119f..7aee65bd 100644 --- a/data/qcsrc/server/cl_weaponsystem.qc +++ b/data/qcsrc/server/cl_weaponsystem.qc @@ -578,9 +578,9 @@ void CL_Weaponentity_Think() self.weaponentity.effects = self.effects; self.weaponentity.alpha = self.alpha; self.weaponentity.colormap = self.colormap; + if(self.owner.colormod != '0 0 0') // used by the regurgitating colors + self.weaponentity.colormod = self.owner.colormod; } - if(self.owner.colormod != '0 0 0') // used by the regurgitating colors - self.weaponentity.colormod = self.owner.colormod; self.angles = '0 0 0'; local float f; @@ -791,7 +791,7 @@ void CL_ExteriorWeaponentity_Think() else self.alpha = 1; if(self.owner.colormod != '0 0 0') // used by the regurgitating colors - self.exteriorweaponentity.colormod = self.owner.colormod; + self.colormod = self.owner.colormod; ang_x = bound(sv_pitch_min, self.owner.v_angle_x, sv_pitch_max); ang_y = 0;