summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r--src/resources/iteminfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp
index 56b2e1fe0..9e3e4acfa 100644
--- a/src/resources/iteminfo.cpp
+++ b/src/resources/iteminfo.cpp
@@ -165,8 +165,8 @@ const SoundInfo &ItemInfo::getSound(const ItemSoundEvent::Type event) const
% i->second.size()] : empty;
}
-std::map<int, int> *ItemInfo::addReplaceSprite(const int sprite,
- const int direction)
+IntMap *ItemInfo::addReplaceSprite(const int sprite,
+ const int direction)
{
if (direction < 0 || direction >= 10)
return nullptr;
@@ -183,7 +183,7 @@ std::map<int, int> *ItemInfo::addReplaceSprite(const int sprite,
SpriteToItemMap::iterator it = spMap->find(sprite);
if (it == spMap->end())
{
- std::map<int, int> tmp;
+ IntMap tmp;
(*mSpriteToItemReplaceMap[direction])[sprite] = tmp;
it = mSpriteToItemReplaceMap[direction]->find(sprite);
}