summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-20 04:18:07 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-20 04:18:07 +0000
commit4345ee3eba1114a031189f2e2eff4a832ff59fee (patch)
tree55ad7131d227974a843a364bfe82aef4f5dcde7f /crawl-ref/source/cloud.cc
parentd67f41ebf91d23eabe1640a2910cdae40358b77c (diff)
downloadcrawl-ref-4345ee3eba1114a031189f2e2eff4a832ff59fee.tar.gz
crawl-ref-4345ee3eba1114a031189f2e2eff4a832ff59fee.zip
Oops, couldn't set a non-default 0% cloud spread rate.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2494 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r--crawl-ref/source/cloud.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc
index 65128cf79d..d36106ad72 100644
--- a/crawl-ref/source/cloud.cc
+++ b/crawl-ref/source/cloud.cc
@@ -22,7 +22,7 @@
// Returns true if this cloud spreads out as it dissipates.
static unsigned char actual_spread_rate(cloud_type type, int spread_rate)
{
- if (spread_rate > 0)
+ if (spread_rate >= 0)
return (unsigned char) spread_rate;
switch (type)