]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Better comments
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 11 Feb 2011 20:46:21 +0000 (22:46 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 11 Feb 2011 20:46:21 +0000 (22:46 +0200)
qcsrc/server/cl_weaponsystem.qc

index db2202e895865383b59894d499e76d0134c297a8..176ecb7db1f2f93b1735e5ba21b654a5c60600e6 100644 (file)
@@ -1688,7 +1688,7 @@ float W_ReloadCheck()
 
 void W_ReloadEnd()
 {
-       // now do the ammo transfer
+       // finish the reloading process, and do the ammo transfer
 
        self.clip_load = self.old_clip_load; // restore the ammo counter, in case we still had ammo in the weapon before reloading
 
@@ -1716,6 +1716,8 @@ void W_ReloadEnd()
 
 void W_ReloadStart()
 {
+       // begin the reloading process
+
        sound (self, CHAN_WEAPON2, self.reload_sound, VOL_BASE, ATTN_NORM);
 
        // do not set ATTACK_FINISHED in reload code any more. This causes annoying delays if eg: You start reloading a weapon,
@@ -1741,6 +1743,6 @@ void W_Reload(float sent_ammo_min, float sent_ammo_amount, float sent_time, stri
        if(!W_ReloadCheck())
                return;
 
-       // now we can begin the actual reloading
+       // now begin the actual reloading
        W_ReloadStart();
 }
\ No newline at end of file