summaryrefslogtreecommitdiff
path: root/src/item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.cpp')
-rw-r--r--src/item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/item.cpp b/src/item.cpp
index a03cb4437..9a2537b18 100644
--- a/src/item.cpp
+++ b/src/item.cpp
@@ -98,7 +98,7 @@ void Item::setId(const int id,
const std::string dye = combineDye2(paths.getStringValue(
"itemIcons").append(info.getDisplay().image),
- info.getDyeColorsString(color));
+ info.getDyeIconColorsString(color));
mImage = resman->getImage(dye);
if (!mImage)
@@ -123,7 +123,7 @@ Image *Item::getImage(const int id,
const ItemInfo &info = ItemDB::get(id);
Image *image = resman->getImage(combineDye2(paths.getStringValue(
"itemIcons").append(info.getDisplay().image),
- info.getDyeColorsString(color)));
+ info.getDyeIconColorsString(color)));
if (!image)
image = Theme::getImageFromTheme("unknown-item.png");