diff options
author | Bertram <bertram@cegetel.net> | 2009-09-23 00:43:24 +0200 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2009-09-23 00:43:24 +0200 |
commit | 896cd643b03f1375aee0ee2765a61179d5d42da3 (patch) | |
tree | 6e8c173325fe3e2afb0807d6969378fa1b9fd340 /src | |
parent | e9ca82e734da4e8e82854c8791a3f7e62d083a1d (diff) | |
download | mana-client-896cd643b03f1375aee0ee2765a61179d5d42da3.tar.gz mana-client-896cd643b03f1375aee0ee2765a61179d5d42da3.tar.bz2 mana-client-896cd643b03f1375aee0ee2765a61179d5d42da3.tar.xz mana-client-896cd643b03f1375aee0ee2765a61179d5d42da3.zip |
Also added setAlpha() to ShopListBox, to avoid glitches with flooritems.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/shoplistbox.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/shoplistbox.cpp b/src/gui/shoplistbox.cpp index b35c1d80..6581a82d 100644 --- a/src/gui/shoplistbox.cpp +++ b/src/gui/shoplistbox.cpp @@ -25,6 +25,7 @@ #include "configuration.h" #include "graphics.h" +#include "resources/image.h" #include "shopitem.h" #include <guichan/font.hpp> @@ -105,6 +106,7 @@ void ShopListBox::draw(gcn::Graphics *gcnGraphics) Image *icon = mShopItems->at(i)->getImage(); if (icon) { + icon->setAlpha(1.0f); graphics->drawImage(icon, 1, y); } } |