summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/exclude.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-06-06 20:39:22 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-06-07 10:31:55 +0200
commit1dd4d098ea6b5934913f1cc161de0c90d045b59f (patch)
treea85035b8a3e62757aecdeccb3f15459530ba9fbd /crawl-ref/source/exclude.cc
parentf5dff9f05b65ea53258f05ae59c6df76ce8af614 (diff)
downloadcrawl-ref-1dd4d098ea6b5934913f1cc161de0c90d045b59f.tar.gz
crawl-ref-1dd4d098ea6b5934913f1cc161de0c90d045b59f.zip
Fix an incorrect comment.
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r--crawl-ref/source/exclude.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc
index 7fed0efc16..6f04a31c6d 100644
--- a/crawl-ref/source/exclude.cc
+++ b/crawl-ref/source/exclude.cc
@@ -449,9 +449,7 @@ void del_exclude(const coord_def &p)
void set_exclude(const coord_def &p, int radius, bool autoexcl, bool vaultexcl,
bool defer_updates)
{
- // Sanity checks; excludes can be set in Pan and regular dungeon
- // levels only.
- if (!player_in_mappable_area())
+ if (!player_in_mappable_area()) // currently only Abyss
return;
if (!in_bounds(p))