diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-26 03:09:45 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-26 03:09:45 +0000 |
commit | 89bf4fdfd473fc176b1de7cee796d810aa0cd94a (patch) | |
tree | 521d1476737061530d4c6d44bcd7ee4e7d569aa8 /crawl-ref/source/religion.cc | |
parent | 0c41d894905aca31c5a90045e66c3e3d32b7bf1f (diff) | |
download | crawl-ref-89bf4fdfd473fc176b1de7cee796d810aa0cd94a.tar.gz crawl-ref-89bf4fdfd473fc176b1de7cee796d810aa0cd94a.zip |
Add another Jiyva cleanup.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10414 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 9 |
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()) { |