diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-12-19 00:19:24 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-12-19 00:19:24 +0100 |
commit | f933c8c3d6a141c76ca5e05eda5f11b6d14722c3 (patch) | |
tree | 80d1922fbb3977ddfdc79678544a5a29f879f894 /crawl-ref/source/dgn-layouts.cc | |
parent | 56402a27013be84ab7678cbfc1725d380fdaf04e (diff) | |
download | crawl-ref-f933c8c3d6a141c76ca5e05eda5f11b6d14722c3.tar.gz crawl-ref-f933c8c3d6a141c76ca5e05eda5f11b6d14722c3.zip |
Schedule DNGN_ENTER_PORTAL_VAULT for removal; other related fixes.
Diffstat (limited to 'crawl-ref/source/dgn-layouts.cc')
-rw-r--r-- | crawl-ref/source/dgn-layouts.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-layouts.cc b/crawl-ref/source/dgn-layouts.cc index 6f684dec56..6671969c8b 100644 --- a/crawl-ref/source/dgn-layouts.cc +++ b/crawl-ref/source/dgn-layouts.cc @@ -1135,7 +1135,8 @@ static bool _may_overwrite_pos(coord_def c) const dungeon_feature_type grid = grd(c); // Don't overwrite any stairs or branch entrances. - if (grid >= DNGN_ENTER_SHOP && grid <= DNGN_EXIT_PORTAL_VAULT + if (grid >= DNGN_ENTER_SHOP && grid <= DNGN_TELEPORTER + || grid >= DNGN_ENTER_FIRST_PORTAL && grid <= DNGN_EXIT_LAST_PORTAL || grid == DNGN_EXIT_HELL) { return false; |