W_SwitchWeapon (self.cnt);
}
}
- if(self.wish_reload)
- {
- if(self.switchweapon == self.weapon)
- {
- if(self.weaponentity.state == WS_READY)
- {
- self.wish_reload = 0;
- W_Laser_Reload();
- }
- }
- }
}
else if (req == WR_PRECACHE)
{
W_Laser_SetAmmoCounter();
}
else if (req == WR_CHECKAMMO1)
+ {
return TRUE;
+ }
else if (req == WR_CHECKAMMO2)
+ {
return TRUE;
+ }
+ else if (req == WR_RESETPLAYER)
+ {
+ // all weapons must be fully loaded when we spawn
+ self.laser_load = autocvar_g_balance_laser_reload_ammo;
+ }
else if (req == WR_RELOAD)
+ {
W_Laser_Reload();
+ }
return TRUE;
};
#endif