From 20db67cb1f33b1e317581b8fdf35f1b1f6a1e714 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 21 May 2010 14:22:41 -0600 Subject: Fix compilation --- src/gui/itempopup.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/itempopup.cpp') diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp index 2618810b..5e89bc35 100644 --- a/src/gui/itempopup.cpp +++ b/src/gui/itempopup.cpp @@ -102,7 +102,8 @@ void ItemPopup::setItem(const ItemInfo &item, bool showImage) if (showImage) { ResourceManager *resman = ResourceManager::getInstance(); - Image *image = resman->getImage("graphics/items/" + item.getImageName()); + Image *image = resman->getImage("graphics/items/" + + item.getDisplay().image); mIcon->setImage(image); if (image) { -- cgit v1.2.3-70-g09d2