summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-25 02:21:39 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-10-25 02:21:39 +0100
commitefcde028c2233000c6ffff472b077cc8faa545b5 (patch)
tree098c1f1db801e92a47ed7eee78ecde3e69173025 /crawl-ref/source/spells4.cc
parent497ea67ad7af5cc26505369b833b39754694ccbe (diff)
downloadcrawl-ref-efcde028c2233000c6ffff472b077cc8faa545b5.tar.gz
crawl-ref-efcde028c2233000c6ffff472b077cc8faa545b5.zip
Also briefly flash red when Igniting Poison.
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index d15efba241..a82879c2e7 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -599,6 +599,9 @@ static int _ignite_poison_monsters(coord_def where, int pow, int, actor *)
void cast_ignite_poison(int pow)
{
+ you.flash_colour = RED;
+ viewwindow(true, true);
+
// Poison branding becomes fire branding.
if (you.weapon()
&& you.duration[DUR_WEAPON_BRAND]
@@ -741,6 +744,12 @@ void cast_ignite_poison(int pow)
apply_area_visible(_ignite_poison_clouds, pow);
apply_area_visible(_ignite_poison_objects, pow);
apply_area_visible(_ignite_poison_monsters, pow);
+
+#ifndef USE_TILES
+ delay(100); // show a brief flash
+#endif
+ you.flash_colour = 0;
+ viewwindow(true, false);
}
void cast_silence(int pow)