summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:20:20 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:20:20 +0300
commit8fb2c062cd1c03f032b99f4a7e7663c0653ba837 (patch)
tree0bb3cd9a01f0158822ae58a0d56b8b1808cb9bbc /src/resources/iteminfo.cpp
parenta9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (diff)
downloadplus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.gz
plus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.bz2
plus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.xz
plus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.zip
Add missing const in resources directory.
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r--src/resources/iteminfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp
index 133242567..79f0e04b5 100644
--- a/src/resources/iteminfo.cpp
+++ b/src/resources/iteminfo.cpp
@@ -287,7 +287,7 @@ const SpriteToItemMap *ItemInfo::getSpriteToItemReplaceMap(const int direction)
if (direction < 0 || direction >= 10)
return nullptr;
- SpriteToItemMap *const spMap = mSpriteToItemReplaceMap[direction];
+ const SpriteToItemMap *const spMap = mSpriteToItemReplaceMap[direction];
if (spMap)
return spMap;
if (direction == SpriteDirection::UPLEFT