diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-07 06:27:02 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-07 06:27:02 +0000 |
commit | 4f955d1dd5e8fda4fb45b09fbbfcab138e26a75b (patch) | |
tree | 68ecdd47679725b34b009e250930f66991166c3d /crawl-ref/source/describe.cc | |
parent | 80219219bee1231f7833c47a394c8f5c3b04d283 (diff) | |
download | crawl-ref-4f955d1dd5e8fda4fb45b09fbbfcab138e26a75b.tar.gz crawl-ref-4f955d1dd5e8fda4fb45b09fbbfcab138e26a75b.zip |
Fix [2575361]: Properly differentiate between spells a god hates in
general and spells a god dislikes for the purpose of artefact
spellbooks, in order to avoid e.g. Elyvilon's hating a book of
conjurations.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8950 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 80744767a5..8b99c28409 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -2168,12 +2168,12 @@ std::string get_item_description( const item_def &item, bool verbose, } } - if (good_god_dislikes_item_handling(item)) + if (good_god_hates_item_handling(item)) { description << "$$" << god_name(you.religion) << " opposes the use of " << "such an evil item."; } - else if (god_dislikes_item_handling(item)) + else if (god_hates_item_handling(item)) { description << "$$" << god_name(you.religion) << " disapproves of the " << "use of such an item."; |