diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 17:29:52 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 17:29:52 +0100 |
commit | 71adb1db298adf054f6ae453a5b40807fbf021d3 (patch) | |
tree | 7c5c057b70e2fc23e98f925a7c7d8d13d72a79a4 /crawl-ref/source/spells4.cc | |
parent | 6acd640e5aa287d45368f50bf5776e72b1fe4159 (diff) | |
download | crawl-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/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index 5b965b3d72..f3086187c3 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -590,8 +590,7 @@ static int _ignite_poison_monsters(coord_def where, int pow, int, actor *) void cast_ignite_poison(int pow) { - you.flash_colour = RED; - viewwindow(false); + flash_view(RED); // Poison branding becomes fire branding. if (you.weapon() @@ -739,8 +738,7 @@ void cast_ignite_poison(int pow) #ifndef USE_TILES delay(100); // show a brief flash #endif - you.flash_colour = 0; - viewwindow(false); + flash_view(0); } void cast_silence(int pow) |