diff options
author | David Athay <ko2fan@gmail.com> | 2008-01-13 16:28:50 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-01-13 16:28:50 +0000 |
commit | 3bf3c05f1b999914875d5fb0797c4c9ca098ede0 (patch) | |
tree | 8bb49e7960cd27e0343c65ae43d646e52f566f71 /src/localplayer.cpp | |
parent | 2928c5444892538f0153b5dd6e39d9a4bff5585d (diff) | |
download | mana-3bf3c05f1b999914875d5fb0797c4c9ca098ede0.tar.gz mana-3bf3c05f1b999914875d5fb0797c4c9ca098ede0.tar.bz2 mana-3bf3c05f1b999914875d5fb0797c4c9ca098ede0.tar.xz mana-3bf3c05f1b999914875d5fb0797c4c9ca098ede0.zip |
Fixed non-default location music loading
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 2d9da036..1b65d9bb 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -406,6 +406,7 @@ void LocalPlayer::attack(Being *target, bool keep) setAction(ATTACK); mWalkTime = tick_time; + if (mEquippedWeapon) { std::string soundFile = mEquippedWeapon->getSound(EQUIP_EVENT_STRIKE); |