summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-10-30 00:26:31 -0700
committerMatthew Cline <zelgadis@sourceforge.net>2009-10-30 00:26:31 -0700
commitc6fc0f21471b48180fb592ff38c0526be1dece11 (patch)
treeb8d722fce2e064f3295c356f87572aca592dd152 /crawl-ref/source/religion.cc
parent083094948e602325534d03c8317460cc19a1cb7c (diff)
downloadcrawl-ref-c6fc0f21471b48180fb592ff38c0526be1dece11.tar.gz
crawl-ref-c6fc0f21471b48180fb592ff38c0526be1dece11.zip
religion.cc: Don't slimify god gifts
Jiyva's retribution shouldn't slimify the god-gifts of other gods.
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 045dd5920a..cfcf1eb48e 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -4853,7 +4853,8 @@ static bool _jiyva_retribution()
mon = choose_random_nearby_monster(0);
if (!mon || !mon_can_be_slimified(mon)
- || mon->attitude != ATT_HOSTILE)
+ || mon->attitude != ATT_HOSTILE
+ || (mon->god != GOD_NO_GOD && mon->god != GOD_JIYVA))
{
tries++;
continue;