summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
commit1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (patch)
tree68fe26fdd1ef25645deef894c296b6fbc80b0e13 /src/map.cpp
parent41044107cc0a17125ebd806c9934b6eb636dafe6 (diff)
downloadManaVerse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.gz
ManaVerse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.bz2
ManaVerse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.xz
ManaVerse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.zip
Add const to more classes.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
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<MapItem*>::const_iterator it = mMapPortals.begin(),
it_end = mMapPortals.end(); it != it_end; ++it)