diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-05-21 14:22:41 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-05-21 14:22:41 -0600 |
commit | 20db67cb1f33b1e317581b8fdf35f1b1f6a1e714 (patch) | |
tree | 1f913bb508c1b04741740d2de066c9946c281b34 /src/gui/itempopup.cpp | |
parent | 63b4c9869b6256ed7644113cd23305b07cf9df03 (diff) | |
download | mana-20db67cb1f33b1e317581b8fdf35f1b1f6a1e714.tar.gz mana-20db67cb1f33b1e317581b8fdf35f1b1f6a1e714.tar.bz2 mana-20db67cb1f33b1e317581b8fdf35f1b1f6a1e714.tar.xz mana-20db67cb1f33b1e317581b8fdf35f1b1f6a1e714.zip |
Fix compilation
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r-- | src/gui/itempopup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |