NicePack/sources/Weapons/Playable/Incendiary/Protecta/NiceProtecta.uc
Anton Tarasenko 12d95e387e Revert weapon conversion
This patch reverts first step of global weapon conversion
that would have halted the release of the next version for too long.
2020-04-17 23:06:41 +07:00

16 lines
401 B
Ucode

class NiceProtecta extends Protecta;
// Use alt fire to switch fire modes
simulated function AltFire(float F)
{
if(ReadyToFire(0))
{
DoToggle();
}
}
exec function SwitchModes()
{
DoToggle();
}
defaultproperties
{
FireModeClass(0)=Class'NicePack.NiceProtectaFire'
PickupClass=Class'NicePack.NiceProtectaPickup'
ItemName="Flare Shotgun 'Protecta' NW"
}