diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-17 01:54:08 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-17 01:54:08 +0000 |
commit | 2ed4b6fdf79725cc93d65d6de4496b3251c98510 (patch) | |
tree | d1f662a9906d1bc67c307688c7e208b3a1c9d6ee /crawl-ref | |
parent | 9a414619a4f32354cffe8eac2375b0542bd3d433 (diff) | |
download | crawl-ref-2ed4b6fdf79725cc93d65d6de4496b3251c98510.tar.gz crawl-ref-2ed4b6fdf79725cc93d65d6de4496b3251c98510.zip |
For gods that don't take item sacrifices, only display "[God] doesn't
care about such mundane gifts." if there are items where you stand.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3288 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-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 ae8271380f..4141845278 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -3287,7 +3287,8 @@ void offer_items() if (you.religion == GOD_NO_GOD) return; - if (!god_likes_items(you.religion)) + if (!god_likes_items(you.religion) && + igrd[you.x_pos][you.y_pos] != NON_ITEM) { simple_god_message(" doesn't care about such mundane gifts.", you.religion); return; |