summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-04 17:38:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-04 17:38:19 +0300
commit65a88f27b994f7ade178368c569d466f6344ded6 (patch)
tree1b4bae38055b1ce31201ebb72b5c10987cba9f62 /src/resources/db/itemdb.cpp
parenta553b3cda91aa095d88e22abcaa81701c2894334 (diff)
downloadplus-65a88f27b994f7ade178368c569d466f6344ded6.tar.gz
plus-65a88f27b994f7ade178368c569d466f6344ded6.tar.bz2
plus-65a88f27b994f7ade178368c569d466f6344ded6.tar.xz
plus-65a88f27b994f7ade178368c569d466f6344ded6.zip
add sound effects for equip/unequip/use items for local player.
It using: "equip", "unequip", "use" effects from items. If no item effect present, fallback to same effects from player race.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 867c01e2d..da896fe9d 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -167,6 +167,9 @@ static void initStatic()
mSoundNames["hit"] = SOUND_EVENT_HIT;
mSoundNames["strike"] = SOUND_EVENT_MISS;
mSoundNames["miss"] = SOUND_EVENT_MISS;
+ mSoundNames["use"] = SOUND_EVENT_USE;
+ mSoundNames["equip"] = SOUND_EVENT_EQUIP;
+ mSoundNames["unequip"] = SOUND_EVENT_UNEQUIP;
}
void ItemDB::load()