From 343809fe458a08bf96fe4f537db2d81d7523632e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Oct 2013 02:03:12 +0300 Subject: Add new item sound events constants. --- src/resources/db/itemdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/db/itemdb.cpp') 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 mTags; - std::map mSoundNames; + std::map 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::const_iterator + const std::map::const_iterator it = mSoundNames.find(event); if (it != mSoundNames.end()) { -- cgit v1.2.3-70-g09d2