summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-23 02:10:02 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-23 20:52:54 +0300
commitdce838195b3d2ca4703094aa8602038bb1e1e7f3 (patch)
tree1d79540f9f3787129c08c1326ab7e72249a2b27f /src/resources
parentf5536169ce6143ae39bcfd8b353e6495dac76a72 (diff)
downloadplus-dce838195b3d2ca4703094aa8602038bb1e1e7f3.tar.gz
plus-dce838195b3d2ca4703094aa8602038bb1e1e7f3.tar.bz2
plus-dce838195b3d2ca4703094aa8602038bb1e1e7f3.tar.xz
plus-dce838195b3d2ca4703094aa8602038bb1e1e7f3.zip
Reorder map sprites to draw correctly player with more than one tile width.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/mapreader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index b80bc960f..3b7ebd2b1 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -360,6 +360,10 @@ Map *MapReader::readMap(xmlNodePtr node, const std::string &path)
map->addRange(objName, MapItem::MUSIC,
objX, objY, objW, objH);
}
+ else if (objType == "ACTORSFIX")
+ {
+ map->setActorsFix(objX, objY);
+ }
else
{
logger->log1(" Warning: Unknown object type");