summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index c73fe63413..da1afa86b9 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -1198,7 +1198,8 @@ map_def::map_def()
weight_depth_mult(), weight_depth_div(), welcome_messages(), map(),
mons(), items(), keyspecs(), prelude("dlprelude"), main("dlmain"),
validate("dlvalidate"), veto("dlveto"), rock_colour(BLACK),
- floor_colour(BLACK), index_only(false), cache_offset(0L)
+ floor_colour(BLACK), rock_tile(0), floor_tile(0),
+ index_only(false), cache_offset(0L)
{
init();
}
@@ -1228,6 +1229,7 @@ void map_def::reinit()
welcome_messages.clear();
rock_colour = floor_colour = BLACK;
+ rock_tile = floor_tile = 0;
// Chance of using this level. Nonzero chance should be used
// sparingly. When selecting vaults for a place, first those