diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-15 22:08:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-15 22:18:35 +0300 |
commit | 6d44c69cb0cc9c2ac8a94c56c07ed45f63ab9726 (patch) | |
tree | 4a9202e4528dc3ae5d111a40d6217ee0871fa06b /src/resources/map/map.cpp | |
parent | 7e35fd53d5fdc658facfce281577421296f8e3c1 (diff) | |
download | mv-6d44c69cb0cc9c2ac8a94c56c07ed45f63ab9726.tar.gz mv-6d44c69cb0cc9c2ac8a94c56c07ed45f63ab9726.tar.bz2 mv-6d44c69cb0cc9c2ac8a94c56c07ed45f63ab9726.tar.xz mv-6d44c69cb0cc9c2ac8a94c56c07ed45f63ab9726.zip |
Rename blockTile to AddBlockMask in map.
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r-- | src/resources/map/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp index bcc84417c..097a7a11d 100644 --- a/src/resources/map/map.cpp +++ b/src/resources/map/map.cpp @@ -679,7 +679,7 @@ const Tileset *Map::getTilesetWithGid(const int gid) const return nullptr; } -void Map::blockTile(const int x, const int y, +void Map::addBlockMask(const int x, const int y, const BlockTypeT type) { if (type == BlockType::NONE || !contains(x, y)) @@ -735,7 +735,7 @@ unsigned char Map::getBlockMask(const int x, const int y) const void Map::setWalk(const int x, const int y) { - blockTile(x, y, BlockType::GROUNDTOP); + addBlockMask(x, y, BlockType::GROUNDTOP); } bool Map::contains(const int x, const int y) const |