summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/religion.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 100d992fe3..dde74e876f 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2145,7 +2145,7 @@ static void _do_god_gift(bool prayed_for)
}
}
- if (jelly_count >= 1)
+ if (jelly_count > 0)
{
int count_created = 0;
for (; jelly_count > 0; --jelly_count)
@@ -7211,10 +7211,11 @@ void god_pitch(god_type which_god)
if (you.religion == GOD_LUGONU && you.worshipped[GOD_LUGONU] == 1)
gain_piety(20); // allow instant access to first power
- // Complimentary jelly upon joining for the first time.
- if (you.religion == GOD_JIYVA && you.worshipped[GOD_JIYVA] == 1)
+ // Complimentary jelly upon joining.
+ if (you.religion == GOD_JIYVA)
{
- slime_vault_change(false);
+ if (you.worshipped[GOD_JIYVA] == 1)
+ slime_vault_change(false);
if (!_has_jelly())
{