From 5c3746562bafd61603c67958fc82ff097a69e3a4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 2 Feb 2014 12:49:08 +0300 Subject: Add missing const and static into other classes. --- src/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map.cpp') diff --git a/src/map.cpp b/src/map.cpp index 0bbb21271..b17e9ebdb 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -738,7 +738,7 @@ bool Map::getWalk(const int x, const int y, const unsigned char walkmask) const return !(mMetaTiles[x + y * mWidth].blockmask & walkmask); } -unsigned char Map::getBlockMask(const int x, const int y) +unsigned char Map::getBlockMask(const int x, const int y) const { // You can't walk outside of the map if (x < 0 || y < 0 || x >= mWidth || y >= mHeight) -- cgit v1.2.3-70-g09d2