#ifdef SVQC
void(float imp) W_SwitchWeapon;
-void W_Laser_SetAmmoCounter()
-{
- // set clip_load to the weapon we have switched to, if the gun uses reloading
- if(!autocvar_g_balance_laser_reload_ammo)
- self.clip_load = 0; // also keeps crosshair ammo from displaying
- else
- {
- self.clip_load = self.weapon_load[WEP_LASER];
- self.clip_size = autocvar_g_balance_laser_reload_ammo; // for the crosshair ammo display
- }
-}
-
void W_Laser_Reload()
{
self.(self.reload_ammo_player) = 1;
else if (req == WR_SETUP)
{
weapon_setup(WEP_LASER);
- W_Laser_SetAmmoCounter();
}
else if (req == WR_CHECKAMMO1)
{