diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-04 20:12:16 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-07 18:23:31 -0600 |
commit | 7073275ea1acb70482fbba8c186ef4c57671eadc (patch) | |
tree | a08989469aa732b14167b000e94a8409baaa23c4 /crawl-ref/source/travel.cc | |
parent | 8a5ab3ef43e7124e96526e8aecdf3843acce8c04 (diff) | |
download | crawl-ref-7073275ea1acb70482fbba8c186ef4c57671eadc.tar.gz crawl-ref-7073275ea1acb70482fbba8c186ef4c57671eadc.zip |
Allow running (shift-moving) through Qazlal clouds (MarvinPA).
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r-- | crawl-ref/source/travel.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc index 982ba485b3..a74e01ebe7 100644 --- a/crawl-ref/source/travel.cc +++ b/crawl-ref/source/travel.cc @@ -4101,8 +4101,13 @@ bool runrest::run_should_stop() const const coord_def targ = you.pos() + pos; const map_cell& tcell = env.map_knowledge(targ); - if (tcell.cloud() != CLOUD_NONE) + if (tcell.cloud() != CLOUD_NONE + && (!you_worship(GOD_QAZLAL) + || !YOU_KILL(tcell.cloudinfo()->killer) + || env.map_knowledge(you.pos()).cloud() != CLOUD_NONE)) + { return true; + } if (is_excluded(targ) && !is_stair_exclusion(targ)) { |