-void W_Minstanex_SetAmmoCounter()
-{
- // set clip_load to the weapon we have switched to, if the gun uses reloading
- if(!autocvar_g_balance_minstanex_reload_ammo)
- self.clip_load = 0; // also keeps crosshair ammo from displaying
- else
- {
- self.clip_load = self.weapon_load[WEP_MINSTANEX];
- self.clip_size = autocvar_g_balance_minstanex_reload_ammo; // for the crosshair ammo display
- }
-}
-
-void W_Minstanex_Reload()
-{
- self.reload_ammo_player = ammo_cells;
- if(autocvar_g_balance_minstanex_laser_ammo)
- self.reload_ammo_min = min(autocvar_g_balance_minstanex_ammo, autocvar_g_balance_minstanex_laser_ammo);
- else
- self.reload_ammo_min = autocvar_g_balance_minstanex_ammo;
- self.reload_ammo_amount = autocvar_g_balance_minstanex_reload_ammo;
- self.reload_time = autocvar_g_balance_minstanex_reload_time;
- self.reload_sound = "weapons/reload.wav";
-
- W_Reload();
-}
-