summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abyss.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-02 04:40:38 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-02 04:41:10 +0530
commite122135c24d313a38e3a4830d5fed0c986aa21bd (patch)
tree335e44193a4c3eaf183c92c8fee8aadcbffacbf9 /crawl-ref/source/abyss.cc
parentba3af17065855d264935e4fdb63780a40557d704 (diff)
downloadcrawl-ref-e122135c24d313a38e3a4830d5fed0c986aa21bd.tar.gz
crawl-ref-e122135c24d313a38e3a4830d5fed0c986aa21bd.zip
Allow Corruption to be used in Hells and Pan.
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r--crawl-ref/source/abyss.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc
index edde4516bc..4ea7b502a9 100644
--- a/crawl-ref/source/abyss.cc
+++ b/crawl-ref/source/abyss.cc
@@ -908,13 +908,8 @@ static void _corrupt_level_features(const crawl_environment &oenv)
static bool _is_level_corrupted()
{
- if (you.level_type == LEVEL_ABYSS
- || you.level_type == LEVEL_PANDEMONIUM
- || player_in_hell()
- || player_in_branch(BRANCH_VESTIBULE_OF_HELL))
- {
+ if (you.level_type == LEVEL_ABYSS)
return (true);
- }
return (!!env.markers.find(MAT_CORRUPTION_NEXUS));
}