summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-13 11:15:33 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-13 11:15:33 -0700
commit527e4c3afe296e7ecc49156b9a33623caf6d861b (patch)
tree8bce3a7cb0ebb6ea0edc7091be66e04cb13e0e30 /crawl-ref/source/mon-util.cc
parent14d464dfd1d6ba554389a4c6311f9b930dc29ef1 (diff)
downloadcrawl-ref-527e4c3afe296e7ecc49156b9a33623caf6d861b.tar.gz
crawl-ref-527e4c3afe296e7ecc49156b9a33623caf6d861b.zip
Clean up more door/fountain mimic code (Zaba, |amethyst)
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index af6d6c7f47..5b4a75f228 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -1022,8 +1022,10 @@ void discover_mimic(const coord_def& pos, bool wake)
set_terrain_changed(pos);
remove_markers_and_listeners_at(pos);
+#if TAG_MAJOR_VERSION == 34
if (feat_is_door(feat))
env.level_map_mask(pos) |= MMT_WAS_DOOR_MIMIC;
+#endif
}
// Generate and place the monster.