summaryrefslogtreecommitdiff
path: root/src/resources/map/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r--src/resources/map/map.cpp4
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