summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-05 01:50:04 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-05 01:50:04 +0300
commite27eaa69aff14a455deaf9c14d220ac80f760e9c (patch)
treed942113dce5f3c196296d86b91ed24c416c1e550
parent22e8051ed8a2c214ea5c75b97efa22620fd2e8c1 (diff)
downloadmv-e27eaa69aff14a455deaf9c14d220ac80f760e9c.tar.gz
mv-e27eaa69aff14a455deaf9c14d220ac80f760e9c.tar.bz2
mv-e27eaa69aff14a455deaf9c14d220ac80f760e9c.tar.xz
mv-e27eaa69aff14a455deaf9c14d220ac80f760e9c.zip
Fix code style.
-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);
}