summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-11 07:27:26 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-11 07:27:26 +0000
commite3c86b100dc45f37ef5e0d4759b867a5c0b22a22 (patch)
tree883e259f481de9a865cd448b3326975a78d78621
parentdbc3fd203fe0dea803ae3384f32ba95de3e5df54 (diff)
downloadcrawl-ref-e3c86b100dc45f37ef5e0d4759b867a5c0b22a22.tar.gz
crawl-ref-e3c86b100dc45f37ef5e0d4759b867a5c0b22a22.zip
Allow travel excludes on unexplored territory. I hope this doesn't
introduce bugs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5732 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/travel.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc
index 46a07f52c3..f54a28869a 100644
--- a/crawl-ref/source/travel.cc
+++ b/crawl-ref/source/travel.cc
@@ -354,9 +354,6 @@ void set_exclude(const coord_def &p, int radius)
if (!in_bounds(p))
return;
- if (!is_terrain_known(p))
- return;
-
if (is_exclude_root(p))
{
for (int i = 0, count = curr_excludes.size(); i < count; ++i)