diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-10-21 16:24:21 +1000 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-10-21 13:56:54 +0200 |
commit | 5de2baeb90336d6c52da32bc06340d8600405d6f (patch) | |
tree | d8895dd5f22f465afeeb938ac6dee4b798dba536 /crawl-ref/source/travel.cc | |
parent | 2c835d08acebcbdf28db5dbe6c9afcff318e7919 (diff) | |
download | crawl-ref-5de2baeb90336d6c52da32bc06340d8600405d6f.tar.gz crawl-ref-5de2baeb90336d6c52da32bc06340d8600405d6f.zip |
Documentation for KPROP. "force_exclude" for stopping auto-explore and auto-travel across a single square.
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r-- | crawl-ref/source/travel.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc index fb3e841b53..20b69c7919 100644 --- a/crawl-ref/source/travel.cc +++ b/crawl-ref/source/travel.cc @@ -362,6 +362,10 @@ static bool _is_excluded(const coord_def &p, bool is_excluded(const coord_def &p) { + // We can force a travel exclusion by using the "force_exclude" + // KPROP feature property in vaults. {due} + if (testbits(env.map(p).property, FPROP_FORCE_EXCLUDE)) + return (true); return _is_excluded(p, curr_excludes); } |