summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 19:16:19 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 19:16:19 +0000
commit2776e606f9866b226a970f7aaad493cfa4a89498 (patch)
treef02ba51e275422016c4718abe4577819418b6ee2 /crawl-ref/source/acr.cc
parenta524209b16c1775a7367b76aec8e570bab9ad1c9 (diff)
downloadcrawl-ref-2776e606f9866b226a970f7aaad493cfa4a89498.tar.gz
crawl-ref-2776e606f9866b226a970f7aaad493cfa4a89498.zip
When starting in the Abyss, randomize the colors properly.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6260 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 0ec4506aa7..041e1de4de 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -4035,6 +4035,12 @@ static bool _initialise(void)
newc ? LOAD_START_GAME : LOAD_RESTART_GAME,
NUM_LEVEL_AREA_TYPES, -1, you.where_are_you);
+ if (newc && you.char_direction == GDT_GAME_START)
+ {
+ // Randomise colours properly for the Abyss.
+ init_pandemonium();
+ }
+
#if DEBUG_DIAGNOSTICS
// Debug compiles display a lot of "hidden" information, so we auto-wiz.
you.wizard = true;