diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-23 02:10:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-23 20:52:54 +0300 |
commit | dce838195b3d2ca4703094aa8602038bb1e1e7f3 (patch) | |
tree | 1d79540f9f3787129c08c1326ab7e72249a2b27f /src/resources/mapreader.cpp | |
parent | f5536169ce6143ae39bcfd8b353e6495dac76a72 (diff) | |
download | manaplus-dce838195b3d2ca4703094aa8602038bb1e1e7f3.tar.gz manaplus-dce838195b3d2ca4703094aa8602038bb1e1e7f3.tar.bz2 manaplus-dce838195b3d2ca4703094aa8602038bb1e1e7f3.tar.xz manaplus-dce838195b3d2ca4703094aa8602038bb1e1e7f3.zip |
Reorder map sprites to draw correctly player with more than one tile width.
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r-- | src/resources/mapreader.cpp | 4 |
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"); |