From c2a830c71ef0e271e48ef57a80ee5b00a977a4de Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 21 Jun 2005 18:41:45 +0000 Subject: Image loader now automatically determines whether to use masked drawing or an alpha layer. --- src/gui/itemcontainer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/itemcontainer.cpp') 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 -- cgit v1.2.3-70-g09d2