summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/show.cc
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2012-09-12 00:44:54 +0200
committerFlorian Diebold <flodiebold@gmail.com>2012-09-12 00:44:54 +0200
commitb191e35443fff7583a3bc0725be36349c3d389ab (patch)
tree09645a012e4fd6cb4191421838215a0de5f62357 /crawl-ref/source/show.cc
parent10c76b68e15a6a2ccf69d5957a3b9d53d136db89 (diff)
downloadcrawl-ref-b191e35443fff7583a3bc0725be36349c3d389ab.tar.gz
crawl-ref-b191e35443fff7583a3bc0725be36349c3d389ab.zip
Fix monsters not being removed from the monster list (#6129).
Because the cell didn't get marked dirty when the monster was killed, the change was never sent to the client.
Diffstat (limited to 'crawl-ref/source/show.cc')
-rw-r--r--crawl-ref/source/show.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/show.cc b/crawl-ref/source/show.cc
index 2103ff1ccc..247e8b5977 100644
--- a/crawl-ref/source/show.cc
+++ b/crawl-ref/source/show.cc
@@ -475,6 +475,9 @@ void show_update_at(const coord_def &gp, bool terrain_only)
#ifdef USE_TILE
tile_draw_map_cell(gp, true);
#endif
+#ifdef USE_TILE_WEB
+ tiles.mark_for_redraw(gp);
+#endif
}
void show_init(bool terrain_only)