From 89bf4fdfd473fc176b1de7cee796d810aa0cd94a Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 26 Jul 2009 03:09:45 +0000 Subject: Add another Jiyva cleanup. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10414 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/religion.cc') 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()) { -- cgit v1.2.3-54-g00ecf