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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index 32f3afeb15..057809689f 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -390,7 +390,7 @@ void map_lines::apply_markers(const coord_def &c)
for (int i = 0, size = markers.size(); i < size; ++i)
{
markers[i]->pos += c;
- env_add_marker(markers[i]);
+ env.markers.add(markers[i]);
}
// *not* clear_markers() since we've offloaded marker ownership to
// the crawl env.