summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map.cpp b/src/map.cpp
index b91c15ec..89bcf061 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -628,11 +628,6 @@ bool Map::contains(int x, int y) const
return x >= 0 && y >= 0 && x < mWidth && y < mHeight;
}
-bool Map::containsPixel(int x, int y) const
-{
- return contains(x / mTileWidth, y / mTileHeight);
-}
-
MetaTile *Map::getMetaTile(int x, int y) const
{
return &mMetaTiles[x + y * mWidth];