// we can attempt to load another rocket
if(self.hagar_loadtime < time)
{
- self.hagar_load += 1;
- sound(self, CHAN_WEAPON2, "weapons/hagar_load.wav", VOL_BASE, ATTN_NORM);
+ // if there's no loading speed, fill in the rockets
+ if(autocvar_g_balance_hagar_secondary_load_speed)
+ {
+ self.hagar_load += 1;
+ sound(self, CHAN_WEAPON2, "weapons/hagar_load.wav", VOL_BASE, ATTN_NORM);
+ }
+ else
+ self.hagar_load = autocvar_g_balance_hagar_secondary_load_max;
self.hagar_loadtime = time + autocvar_g_balance_hagar_secondary_load_speed;
}
}
- else if(self.hagar_load && (!self.BUTTON_ATCK2 || ((loaded || !enough_ammo) && !autocvar_g_balance_hagar_secondary_load_hold)))
+
+ if(self.hagar_load && (!self.BUTTON_ATCK2 || ((loaded || !enough_ammo) && !autocvar_g_balance_hagar_secondary_load_hold)))
if(weapon_prepareattack(0, autocvar_g_balance_hagar_secondary_refire))
{
// time to release the rockets we've loaded