summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-30 20:23:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-30 20:23:41 +0300
commitdb4e377024c8116b6095892469bfad1c1e5482e9 (patch)
treeea09a3a4108a7f3e096681becc1757f2b5ebaf3c /src/resources/itemdb.cpp
parent6e6fd65992343ca37e92d24efc760666b4485160 (diff)
downloadmv-db4e377024c8116b6095892469bfad1c1e5482e9.tar.gz
mv-db4e377024c8116b6095892469bfad1c1e5482e9.tar.bz2
mv-db4e377024c8116b6095892469bfad1c1e5482e9.tar.xz
mv-db4e377024c8116b6095892469bfad1c1e5482e9.zip
Add for incorrect item sound type "strike" alias "miss".
For now "strike" used like "miss" sound.
Diffstat (limited to 'src/resources/itemdb.cpp')
-rw-r--r--src/resources/itemdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index 91e82d68b..e6e36218c 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -682,7 +682,7 @@ void loadSoundRef(ItemInfo *const itemInfo, const XmlNodePtr node)
{
itemInfo->addSound(EQUIP_EVENT_HIT, filename);
}
- else if (event == "strike")
+ else if (event == "strike" || event == "miss")
{
itemInfo->addSound(EQUIP_EVENT_STRIKE, filename);
}