Fix an issue that appeared as of recent. Odd this didn't happen before.
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 2 Mar 2011 23:38:50 +0000 (01:38 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 2 Mar 2011 23:38:50 +0000 (01:38 +0200)
data/qcsrc/server/cl_weaponsystem.qc

index 8b06407..5ae32e0 100644 (file)
@@ -1662,7 +1662,8 @@ void W_Reload(float sent_ammo_min, float sent_ammo_amount, float sent_time, stri
 \r
        weapon_thinkf(WFRAME_RELOAD, self.reload_time, W_ReloadedAndReady);\r
 \r
-       if(self.clip_load >= 0)\r
-               self.old_clip_load = self.clip_load;\r
+       if(self.clip_load < 0)\r
+               self.clip_load = 0;\r
+       self.old_clip_load = self.clip_load;\r
        self.clip_load = self.weapon_load[self.weapon] = -1;\r
 }
\ No newline at end of file