summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-05 10:28:43 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-05 10:28:43 +0000
commita44d0b13e56bcf101fc324432ec48c473b249fca (patch)
treed937d085c2efdfc7d7888f8d49662e6c0a69e3a6 /crawl-ref/source/dungeon.h
parent9966b0d518c0d1d7f816c425799e86480423e07c (diff)
downloadcrawl-ref-a44d0b13e56bcf101fc324432ec48c473b249fca.tar.gz
crawl-ref-a44d0b13e56bcf101fc324432ec48c473b249fca.zip
Incorporate patches 1825023 (typos) and 1824868 (bug in fully_contains().)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2765 c06c8d41-db1a-0410-9941-cceddc491573
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;