diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-27 01:39:46 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-27 01:39:46 +0000 |
commit | 85e414e4994cf99cde5ab43c420902bdb6b6427a (patch) | |
tree | 587e12c4d2eb01a7d5bb7b2091eb9cf052c155eb /crawl-ref | |
parent | 6b56e4a14795255df64cbbcfe4b2ca370c818547 (diff) | |
download | crawl-ref-85e414e4994cf99cde5ab43c420902bdb6b6427a.tar.gz crawl-ref-85e414e4994cf99cde5ab43c420902bdb6b6427a.zip |
Give all BEAM_POTION_* beams a minimum explosion size of 1.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7988 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/beam.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index fc17b837b9..1371e49c1c 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -2786,6 +2786,8 @@ void bolt::affect_endpoint() int newcolour = _potion_beam_flavour_to_colour(flavour); if (newcolour >= 0) colour = newcolour; + + ex_size = std::max(1, ex_size); explode(); return; } |