diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-15 20:15:48 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-15 20:15:48 +0000 |
commit | 51e06c054764971800694444b6cb35369a5ce336 (patch) | |
tree | 80b9b9d51c04b749fbfc93660b58b10fcc34dd52 /crawl-ref/source/dungeon.cc | |
parent | f5824a2c7390e30a801ac8b1eaa9cea7a6d3afae (diff) | |
download | crawl-ref-51e06c054764971800694444b6cb35369a5ce336.tar.gz crawl-ref-51e06c054764971800694444b6cb35369a5ce336.zip |
Fix the Vestibule having no upstairs. o_O
Fix fleeing monsters shooting at you. (BR 1994462)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5861 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r-- | crawl-ref/source/dungeon.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index bd80e1f1b1..fc7a5cfcc4 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -889,6 +889,7 @@ static void _fixup_branch_stairs() const dungeon_feature_type exit = your_branch().exit_stairs; for (int x = 1; x < GXM; x++) for (int y = 1; y < GYM; y++) + { if (grd[x][y] >= DNGN_STONE_STAIRS_UP_I && grd[x][y] <= DNGN_ESCAPE_HATCH_UP) { @@ -900,6 +901,7 @@ static void _fixup_branch_stairs() } grd[x][y] = exit; } + } } // Branches that consist of only 1 level (Hall of Blades). @@ -3017,7 +3019,7 @@ static void _builder_items(int level_number, char level_type, int items_wanted) } else if (player_in_branch( BRANCH_ORCISH_MINES )) { - specif_type = OBJ_GOLD; /* lots of gold in the orcish mines */ + specif_type = OBJ_GOLD; // Lots of gold in the orcish mines. } if (player_in_branch( BRANCH_VESTIBULE_OF_HELL ) @@ -3026,7 +3028,7 @@ static void _builder_items(int level_number, char level_type, int items_wanted) || player_in_branch( BRANCH_HALL_OF_BLADES ) || player_in_branch( BRANCH_ECUMENICAL_TEMPLE )) { - /* No random items in hell, the slime pits, the temple, the hall */ + // No random items in hell, the slime pits, the temple, the hall. return; } else |