diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-21 18:41:45 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-21 18:41:45 +0000 |
commit | c2a830c71ef0e271e48ef57a80ee5b00a977a4de (patch) | |
tree | 9c8f13688ddbf159a34640ad4cf4fdda3eb20ecf /src/gui/equipment.cpp | |
parent | c392a1aa234b304b634c4ace6375ad96397a30b9 (diff) | |
download | mana-c2a830c71ef0e271e48ef57a80ee5b00a977a4de.tar.gz mana-c2a830c71ef0e271e48ef57a80ee5b00a977a4de.tar.bz2 mana-c2a830c71ef0e271e48ef57a80ee5b00a977a4de.tar.xz mana-c2a830c71ef0e271e48ef57a80ee5b00a977a4de.zip |
Image loader now automatically determines whether to use masked drawing or
an alpha layer.
Diffstat (limited to 'src/gui/equipment.cpp')
-rw-r--r-- | src/gui/equipment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/equipment.cpp b/src/gui/equipment.cpp index 32af0c5a..b954eec7 100644 --- a/src/gui/equipment.cpp +++ b/src/gui/equipment.cpp @@ -36,7 +36,7 @@ EquipmentWindow::EquipmentWindow(): setPosition(40, 40); 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); |