// finish the reloading process, and do the ammo transfer
{
// finish the reloading process, and do the ammo transfer
- actor.clip_load = actor.old_clip_load; // restore the ammo counter, in case we still had ammo in the weapon before reloading
+ Weapon wpn = actor.(weaponentity).m_weapon;
+
+ actor.(weaponentity).clip_load = actor.(weaponentity).old_clip_load; // restore the ammo counter, in case we still had ammo in the weapon before reloading
// if the gun uses no ammo, max out weapon load, else decrease ammo as we increase weapon load
// if the gun uses no ammo, max out weapon load, else decrease ammo as we increase weapon load