summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r--src/resources/iteminfo.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp
index 32331e35..ad4b311c 100644
--- a/src/resources/iteminfo.cpp
+++ b/src/resources/iteminfo.cpp
@@ -41,14 +41,6 @@ const std::string &ItemInfo::getSprite(Gender gender) const
}
}
-void ItemInfo::setAttackAction(std::string attackAction)
-{
- if (attackAction.empty())
- mAttackAction = SpriteAction::ATTACK; // (Equal to unarmed animation)
- else
- mAttackAction = attackAction;
-}
-
void ItemInfo::addSound(EquipmentSoundEvent event, const std::string &filename)
{
mSounds[event].push_back(paths.getStringValue("sfx") + filename);