summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-16 17:37:57 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-16 18:23:00 +0100
commit5059f548248efbc905c16a7cfbaa41d98c30dcb0 (patch)
tree0aa65a78de92869f11b5b6b33ebc8232a745ac35 /crawl-ref/source/directn.cc
parentff283eb9d0c4316165e9d8a6d9eb13b28a8f7c59 (diff)
downloadcrawl-ref-5059f548248efbc905c16a7cfbaa41d98c30dcb0.tar.gz
crawl-ref-5059f548248efbc905c16a7cfbaa41d98c30dcb0.zip
Make some viewwindow show update requirements explicit, remove others.
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 4293da9428..ba02499131 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -1516,7 +1516,7 @@ void direction(dist& moves, targetting_type restricts,
// To update visual branding of friendlies. Only
// seems capabable of adding bolding, not removing it,
// though.
- viewwindow(false);
+ viewwindow(false, true);
}
break;
@@ -1668,7 +1668,7 @@ void direction(dist& moves, targetting_type restricts,
if (need_beam_redraw)
{
#ifndef USE_TILE
- viewwindow(false);
+ viewwindow(false, false);
#endif
if (show_beam && have_beam)
{
@@ -1704,7 +1704,7 @@ void direction(dist& moves, targetting_type restricts,
#endif
}
#ifdef USE_TILE
- viewwindow(false);
+ viewwindow(false, false);
#endif
}
skip_iter = false; // Only skip one iteration at most.