diff options
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index d19a79eae..6546d31bd 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -1300,20 +1300,6 @@ void LocalPlayer::attack(Being *const target, const bool keep, { setAction(ATTACK); -/* - if (mEquippedWeapon) - { - std::string soundFile = mEquippedWeapon->getSound( - EQUIP_EVENT_STRIKE); - if (!soundFile.empty()) - soundManager.playSfx(soundFile); - } - else - { - soundManager.playSfx(paths.getValue( - "attackSfxFile", "fist-swish.ogg")); - } -*/ if (!Client::limitPackets(PACKET_ATTACK)) return; |