diff --git a/Source/Nakatomi/PlayerCharacter.cpp b/Source/Nakatomi/PlayerCharacter.cpp index fe39991..4610d27 100644 --- a/Source/Nakatomi/PlayerCharacter.cpp +++ b/Source/Nakatomi/PlayerCharacter.cpp @@ -399,7 +399,12 @@ void APlayerCharacter::OnFire() TArray Hits = TArray(); CalculateHits(&Hits); - // TODO: Decrement ammo count + CurrentWeapon->DecrementAmmoCount(1); + + if (CurrentWeapon->GetAmmoCount() == 0) + { + RemoveCurrentWeaponFromInventory(); + } // TODO: Play sound effect