summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r--crawl-ref/source/dungeon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h
index 92f5d682ec..1b903a8744 100644
--- a/crawl-ref/source/dungeon.h
+++ b/crawl-ref/source/dungeon.h
@@ -128,7 +128,7 @@ struct dgn_region
bool fully_contains(const coord_def &p) const
{
return (p.x > pos.x && p.x < pos.x + size.x - 1
- && p.y >= pos.y && p.y < pos.y + size.y - 1);
+ && p.y > pos.y && p.y < pos.y + size.y - 1);
}
bool overlaps(const dgn_region &other) const;