diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-27 13:09:40 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-27 14:30:36 +0100 |
commit | 0b18822703d6b5a492b0734289a2439d174b94da (patch) | |
tree | a8335a2dc0535ae85366e4e16a618f8ebe7d429d /crawl-ref | |
parent | 6f2528d6b90c86b44e8265c382e182835e20722d (diff) | |
download | crawl-ref-0b18822703d6b5a492b0734289a2439d174b94da.tar.gz crawl-ref-0b18822703d6b5a492b0734289a2439d174b94da.zip |
Cleanup: remove unused code and inaccurate diagnostic.
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/dungeon.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 89f4ca2773..d21832d7f3 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -2962,22 +2962,6 @@ static builder_rc_type _builder_basic(int level_number) grd[xbegin][ybegin] = DNGN_STONE_STAIRS_DOWN_III; grd[xend][yend] = DNGN_STONE_STAIRS_UP_III; - /* Escape hatches are no longer randomly generated. - They are only used in vaults and for layout bubbles, - like in Slime and Orc. - if (one_chance_in(4)) - { - _make_trail( 10, 20, 40, 20, corrlength, intersect_chance, no_corr, - DNGN_ESCAPE_HATCH_DOWN ); - } - - if (one_chance_in(4)) - { - _make_trail( 50, 20, 40, 20, corrlength, intersect_chance, no_corr, - DNGN_ESCAPE_HATCH_UP ); - } - */ - // Generate a random dead-end that /may/ have a shaft. Good luck! if (!one_chance_in(4)) // 3/4 times { @@ -3012,12 +2996,6 @@ static builder_rc_type _builder_basic(int level_number) #endif } } -#ifdef DEBUG_DIAGNOSTICS - else { - mprf(MSGCH_DIAGNOSTICS, "Placing shaft trail..."); - } -#endif - if (level_number > 1 && one_chance_in(16)) _big_room(level_number); |