summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-08 11:10:52 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-08 11:10:52 +0000
commit9ac3b8f9fc0c7217e75ec38bdac887fb421fcf4f (patch)
treebe16ae94e2913c076202a4812947ab41d847c74b /crawl-ref/source/mapdef.cc
parente7240df9978d7ba42ed7dcfdf9ab385b2ce74d36 (diff)
downloadcrawl-ref-9ac3b8f9fc0c7217e75ec38bdac887fb421fcf4f.tar.gz
crawl-ref-9ac3b8f9fc0c7217e75ec38bdac887fb421fcf4f.zip
Fixed map colours being inherited by unrelated maps during compilation.
Pause after reporting an error for dgamelaunch so that the dgl menu does not hide the error message. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2371 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index c446f6d969..847859697d 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -1185,6 +1185,8 @@ void map_def::reinit()
keyspecs.clear();
welcome_messages.clear();
+ rock_colour = floor_colour = BLACK;
+
// Base chance; this is not a percentage.
chance = 10;