summaryrefslogtreecommitdiff
path: root/src/resources/map/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-15 22:00:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-15 22:18:35 +0300
commit7e35fd53d5fdc658facfce281577421296f8e3c1 (patch)
treeb1ebf61c376b0e1d92446a9fd6addc2c99cf415a /src/resources/map/map.cpp
parent60580edaea11f6a39ef8786e6576110b81fa106c (diff)
downloadManaVerse-7e35fd53d5fdc658facfce281577421296f8e3c1.tar.gz
ManaVerse-7e35fd53d5fdc658facfce281577421296f8e3c1.tar.bz2
ManaVerse-7e35fd53d5fdc658facfce281577421296f8e3c1.tar.xz
ManaVerse-7e35fd53d5fdc658facfce281577421296f8e3c1.zip
Simplify setWall function in map.
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r--src/resources/map/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index 8ad0c5977..bcc84417c 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -733,7 +733,7 @@ unsigned char Map::getBlockMask(const int x, const int y) const
return mMetaTiles[x + y * mWidth].blockmask;
}
-void Map::setWalk(const int x, const int y, const bool walkable A_UNUSED)
+void Map::setWalk(const int x, const int y)
{
blockTile(x, y, BlockType::GROUNDTOP);
}