From e107eee04ecf2d2c1ae98c6c90563911beee60b5 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 7 Mar 2009 00:02:55 +0000 Subject: 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 --- crawl-ref/source/dungeon.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/dungeon.cc') 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, -- cgit v1.2.3-54-g00ecf