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 d047238bf6..a9bff3cf52 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -493,7 +493,7 @@ void map_lines::apply_grid_overlay(const coord_def &c)
set_exclude(gc, 0, false, true);
else if (property >= FPROP_BLOODY)
// Over-ride whatever property is already there.
- env.map(gc).property |= property;
+ env.pgrid(gc) |= property;
#ifdef USE_TILE
const int floor = (*overlay)(x, y).floortile;
if (floor)