summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-11 02:25:13 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-11 02:25:13 +0300
commitf2193dc3a5180844c0375326b919e249d09eafae (patch)
treea12662d8ac613dbea97f0d4ddb2cc605ec30a570 /src
parent5525ef3ff0a3520049142e8324b56f5431f61101 (diff)
downloadplus-f2193dc3a5180844c0375326b919e249d09eafae.tar.gz
plus-f2193dc3a5180844c0375326b919e249d09eafae.tar.bz2
plus-f2193dc3a5180844c0375326b919e249d09eafae.tar.xz
plus-f2193dc3a5180844c0375326b919e249d09eafae.zip
comment unused method in map class.
Diffstat (limited to 'src')
-rw-r--r--src/map.cpp2
-rw-r--r--src/map.h2
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
{
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.