diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-20 23:44:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-20 23:44:47 +0300 |
commit | cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c (patch) | |
tree | 665729a935a8a000ce16ba7667d0f093f8d92551 /src/item.cpp | |
parent | 1240589615918547fab96a8b9315a66d068e712e (diff) | |
download | ManaVerse-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.tar.gz ManaVerse-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.tar.bz2 ManaVerse-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.tar.xz ManaVerse-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.zip |
Use separate icons palette.
Diffstat (limited to 'src/item.cpp')
-rw-r--r-- | src/item.cpp | 4 |
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"); |