Blocking shooting while running
Solution
void ASTUBaseWeapon::StartFire()
{
FireInProgress = true;
}
void ASTUBaseWeapon::StopFire()
{
FireInProgress = false;
}
bool ASTUBaseWeapon::IsFiring() const
{
return FireInProgress;
}Last updated