summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-08 21:07:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-08 21:07:03 +0300
commit451e5fbbf6a3ee7077caf31a45a37945c3a9ecf7 (patch)
tree74e7be67e1791ab5a398171f79fbef09b2d89b5a /src/resources
parent461bfb657a0300f27e3ffed55a78ce9249b54759 (diff)
downloadmv-451e5fbbf6a3ee7077caf31a45a37945c3a9ecf7.tar.gz
mv-451e5fbbf6a3ee7077caf31a45a37945c3a9ecf7.tar.bz2
mv-451e5fbbf6a3ee7077caf31a45a37945c3a9ecf7.tar.xz
mv-451e5fbbf6a3ee7077caf31a45a37945c3a9ecf7.zip
Remove default value from block mask in Map::getWalk.s20160809
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/map/map.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h
index 8f7b6dbab..d6c957df9 100644
--- a/src/resources/map/map.h
+++ b/src/resources/map/map.h
@@ -164,8 +164,7 @@ class Map final : public Properties,
* without walkmask, only blocks against colliding tiles.
*/
bool getWalk(const int x, const int y,
- const unsigned char blockWalkMask = BlockMask::WALL
- | BlockMask::AIR | BlockMask::WATER) const
+ const unsigned char blockWalkMask) const
restrict2 A_WARN_UNUSED;
void setWalk(const int x, const int y) restrict2;