..float current_ammo;
.float weapon_load[WEP_MAXCOUNT]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(weapon_load);
-.float zero_ammo; // used by the reloading system, must always be 0
+.float ammo_none; // used by the reloading system, must always be 0
.float clip_load;
.float old_clip_load;
.float clip_size;
{
if (weapon_prepareattack(0, autocvar_g_balance_laser_primary_refire))
{
- W_DecreaseAmmo(zero_ammo, 1, TRUE);
+ W_DecreaseAmmo(ammo_none, 1, TRUE);
W_Laser_Attack(0);
weapon_thinkf(WFRAME_FIRE1, autocvar_g_balance_laser_primary_animtime, w_ready);
{
if(autocvar_g_balance_laser_secondary)
{
- W_DecreaseAmmo(zero_ammo, 1, TRUE);
+ W_DecreaseAmmo(ammo_none, 1, TRUE);
if (weapon_prepareattack(0, 0))
{
else if (req == WR_SETUP)
{
weapon_setup(WEP_LASER);
- self.current_ammo = zero_ammo;
+ self.current_ammo = ammo_none;
}
else if (req == WR_CHECKAMMO1)
{
else if (req == WR_SETUP)
{
weapon_setup(WEP_PORTO);
- self.current_ammo = zero_ammo;
+ self.current_ammo = ammo_none;
}
else if (req == WR_RESETPLAYER)
{
else if (req == WR_SETUP)
{
weapon_setup(WEP_TUBA);
- self.current_ammo = zero_ammo;
+ self.current_ammo = ammo_none;
}
else if (req == WR_CHECKAMMO1)
return TRUE; // TODO use fuel?