diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-04 12:52:55 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-04 12:52:55 +0000 |
commit | ce144b644df6884660606906b2e0bd2d002a9c6c (patch) | |
tree | 0c38eac8f5a02835a7a71ce827b99e33656d7e19 /crawl-ref/source/dungeon.cc | |
parent | 1f97cbc369b32cf86dda02a148b29d8696e2906c (diff) | |
download | crawl-ref-ce144b644df6884660606906b2e0bd2d002a9c6c.tar.gz crawl-ref-ce144b644df6884660606906b2e0bd2d002a9c6c.zip |
Another cleanup of dungeon features. Adding general markers
for first branch/last branch and first altar/last altar that
should hopefully make adding new ones easier.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2324 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r-- | crawl-ref/source/dungeon.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 343b4a2fe9..d412241c18 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -4181,7 +4181,7 @@ static int vault_grid( vault_placement &place, (vgrid == 'A') ? DNGN_STONE_ARCH : (vgrid == 'B') ? static_cast<dungeon_feature_type>( - DNGN_ALTAR_ZIN + altar_count) :// see below + DNGN_ALTAR_FIRST_GOD + altar_count) :// see below (vgrid == 'C') ? pick_an_altar() : // f(x) elsewhere {dlb} (vgrid == 'F') ? DNGN_GRANITE_STATUE : (vgrid == 'I') ? DNGN_ORCISH_IDOL : @@ -4677,7 +4677,7 @@ static dungeon_feature_type pick_an_altar() do { altar_type = - static_cast<dungeon_feature_type>(DNGN_ALTAR_ZIN + + static_cast<dungeon_feature_type>(DNGN_ALTAR_FIRST_GOD + random2(NUM_GODS - 1)); } while (altar_type == DNGN_ALTAR_NEMELEX_XOBEH |