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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index 01522ef7b..292089dc5 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -124,7 +124,7 @@ class ItemInfo final
std::string getParticleEffect() const A_WARN_UNUSED
{ return mParticle; }
- void setDisplay(SpriteDisplay display)
+ void setDisplay(const SpriteDisplay &display)
{ mDisplay = display; }
const SpriteDisplay &getDisplay() const A_WARN_UNUSED