summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-04 02:03:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-04 13:13:21 +0300
commit343809fe458a08bf96fe4f537db2d81d7523632e (patch)
tree0230a135f3ecaf574a3d67f090e6dcb21f1934f5 /src/resources/db
parentb0238edbc3f125e5d7d9d1506f7c9b78a440a200 (diff)
downloadmanaplus-343809fe458a08bf96fe4f537db2d81d7523632e.tar.gz
manaplus-343809fe458a08bf96fe4f537db2d81d7523632e.tar.bz2
manaplus-343809fe458a08bf96fe4f537db2d81d7523632e.tar.xz
manaplus-343809fe458a08bf96fe4f537db2d81d7523632e.zip
Add new item sound events constants.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/itemdb.cpp4
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())
{