summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/localplayer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 2c7227a2d..a776f0165 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -1364,7 +1364,8 @@ void LocalPlayer::attack(Being *target, bool keep, bool dontChangeEquipment)
if (mEquippedWeapon)
{
- std::string soundFile = mEquippedWeapon->getSound(EQUIP_EVENT_STRIKE);
+ std::string soundFile = mEquippedWeapon->getSound(
+ EQUIP_EVENT_STRIKE);
if (!soundFile.empty())
sound.playSfx(soundFile);
}