summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/itemdb.cpp3
-rw-r--r--src/resources/soundinfo.h3
2 files changed, 5 insertions, 1 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()
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;