diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-07 22:02:23 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-07 22:02:23 +1000 |
commit | dfe4d971e429a8b4af18b12589f4ba949535ac02 (patch) | |
tree | eb09b2a3169c8d0cc8531dd98550e4fe1d966bcf /crawl-ref/source/religion.cc | |
parent | 55a78fd8ac0e9795620a5dc30a641de080dbf99a (diff) | |
download | crawl-ref-dfe4d971e429a8b4af18b12589f4ba949535ac02.tar.gz crawl-ref-dfe4d971e429a8b4af18b12589f4ba949535ac02.zip |
Prompt before offering the Horn of Geryon (Mu).
You can accidentally cheat yourself out of entry to all of the Hells if
you sacrifice this before using it.
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 573a7d0f27..594714855c 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -2255,7 +2255,8 @@ static void _do_god_gift(bool prayed_for) static bool _is_risky_sacrifice(const item_def& item) { - return item.base_type == OBJ_ORBS || is_rune(item); + return (item.base_type == OBJ_ORBS || is_rune(item) + || item.sub_type == MISC_HORN_OF_GERYON); } static bool _confirm_pray_sacrifice(god_type god) |