summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/lev-pand.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-05 07:31:05 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-05 07:31:05 +0000
commitde17c107d4d02757ac9a1660469e47fd9fd827d7 (patch)
tree3092dcc5425f72855d17b5e72997ac7a74198042 /crawl-ref/source/lev-pand.cc
parent16bfc009e44684b7c3f0dc29febdfbb54ae7a2f3 (diff)
downloadcrawl-ref-de17c107d4d02757ac9a1660469e47fd9fd827d7.tar.gz
crawl-ref-de17c107d4d02757ac9a1660469e47fd9fd827d7.zip
init_pandemonium() needs to re-do dgn_set_colours_from_monsters(),
since it is called after level generation is complete. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2330 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/lev-pand.cc')
-rw-r--r--crawl-ref/source/lev-pand.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/lev-pand.cc b/crawl-ref/source/lev-pand.cc
index 9587135e7a..b2cbc1dee3 100644
--- a/crawl-ref/source/lev-pand.cc
+++ b/crawl-ref/source/lev-pand.cc
@@ -15,6 +15,7 @@
#include "externs.h"
+#include "dungeon.h"
#include "monplace.h"
#include "mon-pick.h"
#include "stuff.h"
@@ -148,6 +149,10 @@ void init_pandemonium(void)
// set at least some specific monsters for the special levels - this
// can also be used to set some colours
+
+ env.floor_colour = BLACK;
+ env.rock_colour = BLACK;
+ dgn_set_colours_from_monsters();
} // end init_pandemonium()
void pandemonium_mons(void)