summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-05 00:49:32 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-05 00:50:40 -0800
commitd6b92b199da74a1cb8cfc30322befbfae01f5621 (patch)
treef3fc1cc8243112f28a19a6c854b7076ee8859840 /crawl-ref
parent808d95388e8d845c5e5b7f416231c1fc9a8aca97 (diff)
downloadcrawl-ref-d6b92b199da74a1cb8cfc30322befbfae01f5621.tar.gz
crawl-ref-d6b92b199da74a1cb8cfc30322befbfae01f5621.zip
view.cc: viewwindow() don't always update mon grid
viewwindow() was always calling monster_grid() with "do_updates == true".
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 1ac2a47d78..9156ea8ca3 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -1636,7 +1636,7 @@ void viewwindow(bool draw_it, bool do_updates)
env.show.init();
- monster_grid(true);
+ monster_grid(do_updates);
#ifdef USE_TILE
tile_draw_rays(true);