From ce144b644df6884660606906b2e0bd2d002a9c6c Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 4 Oct 2007 12:52:55 +0000 Subject: 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 --- crawl-ref/source/dungeon.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/dungeon.cc') 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( - 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(DNGN_ALTAR_ZIN + + static_cast(DNGN_ALTAR_FIRST_GOD + random2(NUM_GODS - 1)); } while (altar_type == DNGN_ALTAR_NEMELEX_XOBEH -- cgit v1.2.3-54-g00ecf