From f2193dc3a5180844c0375326b919e249d09eafae Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 11 Sep 2012 02:25:13 +0300 Subject: comment unused method in map class. --- src/map.cpp | 2 ++ src/map.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/map.cpp b/src/map.cpp index faef89434..6d3d96fd9 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -667,6 +667,7 @@ void Map::setWalk(const int x, const int y, const bool walkable A_UNUSED) blockTile(x, y, Map::BLOCKTYPE_GROUNDTOP); } +/* bool Map::occupied(const int x, const int y) const { const ActorSprites &actors = actorSpriteManager->getAll(); @@ -686,6 +687,7 @@ bool Map::occupied(const int x, const int y) const return false; } +*/ bool Map::contains(const int x, const int y) const { diff --git a/src/map.h b/src/map.h index 02c7ccbc5..3485f6c58 100644 --- a/src/map.h +++ b/src/map.h @@ -226,7 +226,7 @@ class Map : public Properties, public ConfigListener /** * Tells whether a tile is occupied by a being. */ - bool occupied(const int x, const int y) const; +// bool occupied(const int x, const int y) const; /** * Returns the width of this map in tiles. -- cgit v1.2.3-70-g09d2