summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-21 18:41:45 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-21 18:41:45 +0000
commitc2a830c71ef0e271e48ef57a80ee5b00a977a4de (patch)
tree9c8f13688ddbf159a34640ad4cf4fdda3eb20ecf /src/gui/itemcontainer.cpp
parentc392a1aa234b304b634c4ace6375ad96397a30b9 (diff)
downloadmana-client-c2a830c71ef0e271e48ef57a80ee5b00a977a4de.tar.gz
mana-client-c2a830c71ef0e271e48ef57a80ee5b00a977a4de.tar.bz2
mana-client-c2a830c71ef0e271e48ef57a80ee5b00a977a4de.tar.xz
mana-client-c2a830c71ef0e271e48ef57a80ee5b00a977a4de.zip
Image loader now automatically determines whether to use masked drawing or
an alpha layer.
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r--src/gui/itemcontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp
index 1a95c857..f66a6eff 100644
--- a/src/gui/itemcontainer.cpp
+++ b/src/gui/itemcontainer.cpp
@@ -29,12 +29,12 @@
ItemContainer::ItemContainer()
{
ResourceManager *resman = ResourceManager::getInstance();
- Image *itemImg = resman->getImage("graphics/sprites/items.png", IMG_ALPHA);
+ Image *itemImg = resman->getImage("graphics/sprites/items.png");
if (!itemImg) logger->error("Unable to load items.png");
itemset = new Spriteset(itemImg, 32, 32);
itemImg->decRef();
- selImg = resman->getImage("graphics/gui/selection.png", IMG_ALPHA);
+ selImg = resman->getImage("graphics/gui/selection.png");
if (!selImg) logger->error("Unable to load selection.png");
selectedItem = -1; // No item selected