summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-16 17:29:52 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-16 17:29:52 +0100
commit71adb1db298adf054f6ae453a5b40807fbf021d3 (patch)
tree7c5c057b70e2fc23e98f925a7c7d8d13d72a79a4 /crawl-ref/source/spells3.cc
parent6acd640e5aa287d45368f50bf5776e72b1fe4159 (diff)
downloadcrawl-ref-71adb1db298adf054f6ae453a5b40807fbf021d3.tar.gz
crawl-ref-71adb1db298adf054f6ae453a5b40807fbf021d3.zip
Wrap view flashing in flash_view.
This also removes env.show updates when flashing.
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 52f615e736..d50eb51328 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1826,8 +1826,7 @@ bool cast_sanctuary(const int power)
else
mpr("You are suddenly bathed in radiance!");
- you.flash_colour = WHITE;
- viewwindow(false);
+ flash_view(WHITE);
holy_word(100, HOLY_WORD_ZIN, you.pos(), true);