diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-30 20:23:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-30 20:23:41 +0300 |
commit | db4e377024c8116b6095892469bfad1c1e5482e9 (patch) | |
tree | ea09a3a4108a7f3e096681becc1757f2b5ebaf3c | |
parent | 6e6fd65992343ca37e92d24efc760666b4485160 (diff) | |
download | mv-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.
-rw-r--r-- | src/resources/itemdb.cpp | 2 |
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); } |