diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index f1d27e4f..8b1d7b26 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -620,7 +620,7 @@ bool Map::contains(int x, int y) const bool Map::containsPixel(int x, int y) const { - return contains(x ? x / mTileWidth : 0, y ? y / mTileHeight : 0); + return contains(x / mTileWidth, y / mTileHeight); } MetaTile *Map::getMetaTile(int x, int y) const |