summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abyss.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-20 22:52:17 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-20 22:52:17 +0000
commite8cd0a7f5fad0f0a7d70c4d936c7b09cfae8fa3c (patch)
treeb4a6d81c9c60630bb0012805bdf25660bc32af17 /crawl-ref/source/abyss.cc
parentd3203fe26accc477952ee0f72c374494edeaa73d (diff)
downloadcrawl-ref-e8cd0a7f5fad0f0a7d70c4d936c7b09cfae8fa3c.tar.gz
crawl-ref-e8cd0a7f5fad0f0a7d70c4d936c7b09cfae8fa3c.zip
Backport r10360/1 for a number of bug fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10362 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r--crawl-ref/source/abyss.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc
index d3537f4633..6c0aab699e 100644
--- a/crawl-ref/source/abyss.cc
+++ b/crawl-ref/source/abyss.cc
@@ -901,7 +901,7 @@ static bool _is_level_corrupted()
return (!!env.markers.find(MAT_CORRUPTION_NEXUS));
}
-static bool _is_level_incorruptible()
+bool is_level_incorruptible()
{
if (_is_level_corrupted())
{
@@ -929,7 +929,7 @@ static void _corrupt_choose_colours()
bool lugonu_corrupt_level(int power)
{
- if (_is_level_incorruptible())
+ if (is_level_incorruptible())
return (false);
mprf(MSGCH_GOD, "Lugonu's Hand of Corruption reaches out!");