summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inventory.h b/src/inventory.h
index aedf18b24..46a0b3f58 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -153,9 +153,9 @@ class Inventory final
bool isMainInventory() const A_WARN_UNUSED
{ return mType == INVENTORY; }
- Item *findItemBySprite(std::string spritePath,
- const Gender gender,
- const int race) const A_WARN_UNUSED;
+ const Item *findItemBySprite(std::string spritePath,
+ const Gender gender,
+ const int race) const A_WARN_UNUSED;
std::string getName() const A_WARN_UNUSED;