]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix an issue that appeared as of recent. Odd this didn't happen before.
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 2 Mar 2011 23:36:45 +0000 (01:36 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 2 Mar 2011 23:36:45 +0000 (01:36 +0200)
qcsrc/server/cl_weaponsystem.qc

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