summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.