summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-03 15:00:03 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-03 15:00:03 +0000
commitb84db940665bbe61b706f0b69eb661ea4118800b (patch)
treeb741e9580b0197db51ec8f80bd5f53d539dba076 /crawl-ref/source/beam.cc
parente41cf44e27b292e4814eff6060f5fd05a041c471 (diff)
downloadcrawl-ref-b84db940665bbe61b706f0b69eb661ea4118800b.tar.gz
crawl-ref-b84db940665bbe61b706f0b69eb661ea4118800b.zip
Remove debugging statement, minor clean up.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6369 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 5ace0228a4..ccc1cf730c 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -1987,7 +1987,7 @@ void fire_beam(bolt &pbolt, item_def *item, bool drop_item)
#ifdef MISSILE_TRAILS_OFF
// mv: It's not optimal but is usually enough.
if (!pbolt.is_beam || pbolt.name[0] == '0')
- viewwindow(1,false);
+ viewwindow(true, false);
#endif
}
@@ -2424,7 +2424,7 @@ bool mass_enchantment( enchant_type wh_enchant, int pow, int origin,
if (m_attempted)
*m_attempted = 0;
- viewwindow(0, false);
+ viewwindow(false, false);
if (pow > 200)
pow = 200;