summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.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/view.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/view.cc')
-rw-r--r--crawl-ref/source/view.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index d76847e975..4ad05a9890 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -692,6 +692,10 @@ void view_update_at(const coord_def &pos)
// Force colour back to normal, else clrscr() will flood screen
// with this colour on DOS.
textcolor(LIGHTGREY);
+
+#endif
+#ifdef USE_TILE_WEB
+ tiles.mark_for_redraw(pos);
#endif
}