diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-04 02:03:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-04 13:13:21 +0300 |
commit | 343809fe458a08bf96fe4f537db2d81d7523632e (patch) | |
tree | 0230a135f3ecaf574a3d67f090e6dcb21f1934f5 /src/resources/db | |
parent | b0238edbc3f125e5d7d9d1506f7c9b78a440a200 (diff) | |
download | mv-343809fe458a08bf96fe4f537db2d81d7523632e.tar.gz mv-343809fe458a08bf96fe4f537db2d81d7523632e.tar.bz2 mv-343809fe458a08bf96fe4f537db2d81d7523632e.tar.xz mv-343809fe458a08bf96fe4f537db2d81d7523632e.zip |
Add new item sound events constants.
Diffstat (limited to 'src/resources/db')
-rw-r--r-- | src/resources/db/itemdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index 6f015b64e..867c01e2d 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -42,7 +42,7 @@ namespace bool mConstructed = false; StringVect mTagNames; std::map<std::string, int> mTags; - std::map<std::string, SoundEvent> mSoundNames; + std::map<std::string, ItemSoundEvent> mSoundNames; } // namespace // Forward declarations @@ -732,7 +732,7 @@ void loadSoundRef(ItemInfo *const itemInfo, const XmlNodePtr node) node->xmlChildrenNode->content); const int delay = XML::getProperty(node, "delay", 0); - const std::map<std::string, SoundEvent>::const_iterator + const std::map<std::string, ItemSoundEvent>::const_iterator it = mSoundNames.find(event); if (it != mSoundNames.end()) { |