summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index 292089dc5..71a6119af 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -238,7 +238,7 @@ class ItemInfo final
void setSpriteOrder(int *const ptr, const int direction,
const int n, const int def = -1) const;
- std::map<int, int> getTags() const A_WARN_UNUSED
+ const std::map<int, int> &getTags() const A_WARN_UNUSED
{ return mTags; }
void addTag(const int tag)
@@ -272,8 +272,8 @@ class ItemInfo final
std::map<int, int> *addReplaceSprite(const int sprite,
const int direction);
- SpriteToItemMap *getSpriteToItemReplaceMap(const int directions)
- const A_WARN_UNUSED;
+ const SpriteToItemMap *getSpriteToItemReplaceMap(const int directions)
+ const A_WARN_UNUSED;
std::string getDyeColorsString(const int color) const A_WARN_UNUSED;