diff options
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r-- | crawl-ref/source/travel.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc index 1a1363d7ea..d3315077c2 100644 --- a/crawl-ref/source/travel.cc +++ b/crawl-ref/source/travel.cc @@ -251,13 +251,14 @@ bool is_exclude_root(const coord_def &p) // update Gmap for squares surrounding exclude centre static void tile_exclude_gmap_update(const coord_def p) { - for (int x = -8; x < 8; x++) - for (int y = -8; y < 8; y++) + for (int x = -8; x <= 8; x++) + for (int y = -8; y <= 8; y++) { int px = p.x+x, py = p.y+y; if (in_bounds(coord_def(px,py))) GmapUpdate(px, py, env.map[px][py].glyph(), true); } + GmapDisplay(p.x,p.y); } #endif |