diff options
Diffstat (limited to 'src/item.cpp')
-rw-r--r-- | src/item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cpp b/src/item.cpp index fda05aa30..d484f64cb 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -106,7 +106,7 @@ Image *Item::getImage(int id, unsigned char color) ResourceManager *resman = ResourceManager::getInstance(); const ItemInfo &info = ItemDB::get(id); SpriteDisplay display = info.getDisplay(); - std::string imagePath = "graphics/items/" + display.image; + std::string imagePath = paths.getStringValue("itemIcons") + display.image; Image *image; image = resman->getImage(combineDye2(imagePath, info.getDyeColorsString(color))); |