summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-07 00:02:55 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-07 00:02:55 +0000
commite107eee04ecf2d2c1ae98c6c90563911beee60b5 (patch)
tree7c4d594a00f136f09d928ba0428d7438e6bce12c /crawl-ref/source/dungeon.cc
parente8cc1218ebf352d0f594f957b8705245fd4f82ed (diff)
downloadcrawl-ref-e107eee04ecf2d2c1ae98c6c90563911beee60b5.tar.gz
crawl-ref-e107eee04ecf2d2c1ae98c6c90563911beee60b5.zip
Remove unused demonspawn mutation to gate yourself to Pandemonium.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9364 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index cfba2e8b16..e5b51ee0cf 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -730,7 +730,7 @@ static void _fixup_pandemonium_stairs()
if (grd[i][j] >= DNGN_STONE_STAIRS_UP_I
&& grd[i][j] <= DNGN_ESCAPE_HATCH_UP)
{
- if (one_chance_in( you.mutation[MUT_PANDEMONIUM] ? 5 : 50 ))
+ if (one_chance_in(50))
grd[i][j] = DNGN_EXIT_PANDEMONIUM;
else
grd[i][j] = DNGN_FLOOR;
@@ -6210,13 +6210,13 @@ static char _plan_6(int level_number)
// for demonspawn who gate themselves there. -- bwr
if ((player_in_branch(BRANCH_MAIN_DUNGEON) && level_number > 20
|| you.level_type == LEVEL_PANDEMONIUM)
- && (coinflip() || player_mutation_level(MUT_PANDEMONIUM)))
+ && coinflip())
{
grd[40][36] = DNGN_ENTER_ABYSS;
grd[41][36] = DNGN_ENTER_ABYSS;
}
- return 0;
+ return (0);
}
bool octa_room(spec_room &sr, int oblique_max,