From 451e5fbbf6a3ee7077caf31a45a37945c3a9ecf7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Aug 2016 21:07:03 +0300 Subject: Remove default value from block mask in Map::getWalk. --- src/resources/map/map.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/resources/map/map.h') 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; -- cgit v1.2.3-70-g09d2