diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-10 00:24:08 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-10 00:24:08 +0000 |
commit | a1d6cda4bbcd9cdb9c10aabbf765fa1c02c941fe (patch) | |
tree | 11eb03a2f2a4605a283e4e469a09a040aeb60621 /crawl-ref/source/maps.cc | |
parent | db37e2e9b818817a63d6c0a08ba227be885fe3bb (diff) | |
download | crawl-ref-a1d6cda4bbcd9cdb9c10aabbf765fa1c02c941fe.tar.gz crawl-ref-a1d6cda4bbcd9cdb9c10aabbf765fa1c02c941fe.zip |
The level-builder now enforces the constraint that every contiguous region on a level must include at least one stair (ekiM). This guarantee does not apply to areas inside vaults (the builder assumes vault-designers are sane) and does not apply to certain branches (Swamp, Shoals, the branches of Hell), or the non-Dungeon areas (Abyss, Pan, Bazaars).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4169 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r-- | crawl-ref/source/maps.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc index 7e4b2a95ea..05e691ae48 100644 --- a/crawl-ref/source/maps.cc +++ b/crawl-ref/source/maps.cc @@ -178,7 +178,7 @@ static bool bad_map_place(const map_def &map, if (lines[y - sy][x - sx] == ' ') continue; - if (dgn_map_mask[x][y]) + if (dgn_Map_Mask[x][y]) return (true); if (igrd[x][y] != NON_ITEM || mgrd[x][y] != NON_MONSTER) |