From 1feb7f7edc5f8f383e594b256ef4cab0fae75b99 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Aug 2012 23:40:41 +0300 Subject: Add const to more 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 082c45857..c1905e3bb 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1259,7 +1259,7 @@ void Map::updatePortalTile(const std::string &name, int type, } } -MapItem *Map::findPortalXY(int x, int y) +MapItem *Map::findPortalXY(int x, int y) const { for (std::vector::const_iterator it = mMapPortals.begin(), it_end = mMapPortals.end(); it != it_end; ++it) -- cgit v1.2.3-60-g2f50