diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-31 22:23:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-31 22:23:23 +0300 |
commit | fc5ba333f8832f3d8e054e7c74df1e3cd353645f (patch) | |
tree | 16aabceaaa2b197d006bd357d3176acac292cde7 /src/resources/mapreader.cpp | |
parent | 9875c00dc37b1d7b55e1154075a0cd2d997a490d (diff) | |
download | manaverse-fc5ba333f8832f3d8e054e7c74df1e3cd353645f.tar.gz manaverse-fc5ba333f8832f3d8e054e7c74df1e3cd353645f.tar.bz2 manaverse-fc5ba333f8832f3d8e054e7c74df1e3cd353645f.tar.xz manaverse-fc5ba333f8832f3d8e054e7c74df1e3cd353645f.zip |
Add sittop sprites support.
Add groundtop collision support (not collision but special selected tiles).
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r-- | src/resources/mapreader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 19f9ab3f2..3f1ef1239 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -431,6 +431,9 @@ inline static void setTile(Map *map, MapLayer *layer, int x, int y, int gid) case Map::COLLISION_WATER: map->blockTile(x, y, Map::BLOCKTYPE_WATER); break; + case Map::COLLISION_GROUNDTOP: + map->blockTile(x, y, Map::BLOCKTYPE_GROUNDTOP); + break; default: break; } |