summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 89d0f2c409..7bd712cd33 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -4212,8 +4212,6 @@ void good_god_holy_attitude_change(monsters *holy)
// on, it won't count as a good kill
holy->flags |= MF_WAS_NEUTRAL;
- holy->flags |= MF_GOD_GIFT;
-
// to avoid immobile "followers"
behaviour_event(holy, ME_ALERT, MHITNOT);
}
@@ -4394,10 +4392,8 @@ void excommunication(god_type new_god)
you.redraw_armour_class = true;
}
- if (is_evil_god(new_god))
+ if (!is_good_god(new_god))
_make_god_gifts_hostile(false);
- else if (!is_good_god(new_god))
- _make_god_gifts_neutral(false);
else
_make_god_gifts_good_neutral(false);