diff --git a/Source/vampires/Weapon.cpp b/Source/vampires/Weapon.cpp index 0aaa5c8..ccba8a5 100644 --- a/Source/vampires/Weapon.cpp +++ b/Source/vampires/Weapon.cpp @@ -17,19 +17,12 @@ void AWeapon::BeginPlay() { Super::BeginPlay(); - TArray example; GetWorldTimerManager().SetTimer(WeaponTimerHandle, this, &AWeapon::FireWeaponAction, WeaponCooldown, true); - UEXPComponent* expcomponent = GetOwner()->GetComponentByClass(); - - if (expcomponent) - { - //expcomponent->OnEXPLevelUp.AddUniqueDynamic(this, &AWeapon::UpgradeWeapon); - } } void AWeapon::FireWeaponAction_Implementation() { - // Do stuff + // This should be overridden in child weapon classes } bool AWeapon::UpgradeWeapon()