summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.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/resources/mapreader.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/resources/mapreader.cpp')
-rw-r--r--src/resources/mapreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index b62e6029..abd269d0 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -265,7 +265,7 @@ Tileset* MapReader::readTileset(
sourceStr.erase(0, 3); // Remove "../"
ResourceManager *resman = ResourceManager::getInstance();
- Image* tilebmp = resman->getImage(sourceStr, IMG_ALPHA);
+ Image* tilebmp = resman->getImage(sourceStr);
if (tilebmp)
{