summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-09 22:44:43 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-09 23:21:41 +0100
commitf8d69cbe96b1bcb39b90554800a60d99c0a596f7 (patch)
tree331391fc0aac88b357e8a6fae173cb08c380fa98 /crawl-ref/source/spells4.cc
parent4faab1b80eaf21e1e12c41316d596fb5be45e79d (diff)
downloadcrawl-ref-f8d69cbe96b1bcb39b90554800a60d99c0a596f7.tar.gz
crawl-ref-f8d69cbe96b1bcb39b90554800a60d99c0a596f7.zip
Remove option draw_it from viewwindow.
The only use was just removed. Also move the draw check closer to where it's used.
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 44db4ff667..627f1cd136 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -599,7 +599,7 @@ 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);
+ viewwindow(true);
// Poison branding becomes fire branding.
if (you.weapon()
@@ -748,7 +748,7 @@ void cast_ignite_poison(int pow)
delay(100); // show a brief flash
#endif
you.flash_colour = 0;
- viewwindow(true, false);
+ viewwindow(false);
}
void cast_silence(int pow)