summaryrefslogtreecommitdiff
path: root/src/resources/soundinfo.h
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/soundinfo.h
parenta553b3cda91aa095d88e22abcaa81701c2894334 (diff)
downloadmv-65a88f27b994f7ade178368c569d466f6344ded6.tar.gz
mv-65a88f27b994f7ade178368c569d466f6344ded6.tar.bz2
mv-65a88f27b994f7ade178368c569d466f6344ded6.tar.xz
mv-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/soundinfo.h')
-rw-r--r--src/resources/soundinfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/soundinfo.h b/src/resources/soundinfo.h
index 01671d43b..5d6bd21ad 100644
--- a/src/resources/soundinfo.h
+++ b/src/resources/soundinfo.h
@@ -56,7 +56,8 @@ enum ItemSoundEvent
SOUND_EVENT_TAKE, // take from container
SOUND_EVENT_PUT, // put into container
SOUND_EVENT_EQUIP,
- SOUND_EVENT_UNEQUIP
+ SOUND_EVENT_UNEQUIP,
+ SOUND_EVENT_USE
};
typedef std::map<ItemSoundEvent, SoundInfoVect*> ItemSoundEvents;