diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-11 02:25:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-11 02:25:13 +0300 |
commit | f2193dc3a5180844c0375326b919e249d09eafae (patch) | |
tree | a12662d8ac613dbea97f0d4ddb2cc605ec30a570 | |
parent | 5525ef3ff0a3520049142e8324b56f5431f61101 (diff) | |
download | mv-f2193dc3a5180844c0375326b919e249d09eafae.tar.gz mv-f2193dc3a5180844c0375326b919e249d09eafae.tar.bz2 mv-f2193dc3a5180844c0375326b919e249d09eafae.tar.xz mv-f2193dc3a5180844c0375326b919e249d09eafae.zip |
comment unused method in map class.
-rw-r--r-- | src/map.cpp | 2 | ||||
-rw-r--r-- | src/map.h | 2 |
2 files changed, 3 insertions, 1 deletions
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 { @@ -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. |