Added audio feedback for firing and reloading

This commit is contained in:
TjgL 2025-01-23 22:17:10 +01:00
parent c5d2d9da0d
commit 936a9bccd2
4 changed files with 6 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@ -17,7 +17,7 @@ void ALMRevolver::PrimaryFire()
if (!Player) if (!Player)
return; return;
PlaySound(FireSound); PlaySound(FireSound, true);
PlayAnimation(PrimaryFireAnimation); PlayAnimation(PrimaryFireAnimation);
const FVector Origin = Player->GetWeaponFiringOrigin(); const FVector Origin = Player->GetWeaponFiringOrigin();

View File

@ -18,7 +18,7 @@ void ALMShotgun::PrimaryFire()
if (!Player) if (!Player)
return; return;
PlaySound(FireSound); PlaySound(FireSound, true);
PlayAnimation(PrimaryFireAnimation); PlayAnimation(PrimaryFireAnimation);
FVector Origin = Player->GetWeaponFiringOrigin(); FVector Origin = Player->GetWeaponFiringOrigin();