From 65a88f27b994f7ade178368c569d466f6344ded6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Oct 2013 17:38:19 +0300 Subject: 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. --- src/resources/db/itemdb.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resources/db') 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() -- cgit v1.2.3-70-g09d2