Why aren’t we using Super:: in Tank.cpp when we’re overriding the TakeDamage() function?
float ATank::TakeDamage(float DamageAmount, struct FDamageEvent const& DamageEvent, class AController* EventInstigator, AActor* DamageCauser)
{
int32 DamagePoints = FPlatformMath::RoundToInt(DamageAmount);
int32 DamageToApply = FMath::Clamp(DamagePoints, 0, CurrentHealth);
CurrentHealth -= DamageToApply;
if (CurrentHealth <= 0)
{ OnDeath.Broadcast(); }
return DamageToApply;
}