summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-01 13:54:23 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-01 13:54:23 +0000
commitf2522c21ce1bc538a030ceba1bf364b3c926d4b3 (patch)
tree196f9da811b9515564e8259f0ef0b2dd75a3e9e0 /crawl-ref
parent52a3eb86dd38e250b022f23ec200ffbc87847da9 (diff)
downloadcrawl-ref-f2522c21ce1bc538a030ceba1bf364b3c926d4b3.tar.gz
crawl-ref-f2522c21ce1bc538a030ceba1bf364b3c926d4b3.zip
Default bolt range to -2 in order to catch bugs.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8081 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/beam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 57acf3318d..e973ae6c46 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -5406,7 +5406,7 @@ bool bolt::nice_to(const monsters *mon) const
//
// TODO: Eventually it'd be nice to have a proper factory for these things
// (extended from setup_mons_cast() and zapping() which act as limited ones).
-bolt::bolt() : range(0), type('*'),
+bolt::bolt() : range(-2), type('*'),
colour(BLACK),
flavour(BEAM_MAGIC), real_flavour(BEAM_MAGIC), drop_item(false),
item(NULL), source(), target(), damage(0,0),