summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index b952bbe504..13409640aa 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -977,7 +977,8 @@ bool cast_summon_small_mammals(int pow, god_type god)
success = true;
}
- } while (random2(pow+1) > 32 && count < count_max);
+ }
+ while (random2(pow+1) > 32 && count < count_max);
return (success);
}