summaryrefslogtreecommitdiff
path: root/src/item.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-20 23:44:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-20 23:44:47 +0300
commitcd86533db9e1be9316c8a0afe7ed9dc4ac2c286c (patch)
tree665729a935a8a000ce16ba7667d0f093f8d92551 /src/item.cpp
parent1240589615918547fab96a8b9315a66d068e712e (diff)
downloadplus-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.tar.gz
plus-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.tar.bz2
plus-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.tar.xz
plus-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.zip
Use separate icons palette.
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");