diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-22 21:47:21 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-22 21:47:21 +0000 |
commit | 04c60898820dcdbf47ab1adca6bdb7a2fd3cd2b0 (patch) | |
tree | 346e92724035d07d722f5570b631d350c27facf6 /crawl-ref/source/player.cc | |
parent | 5dc22152dbd89ba7c809719785af00ea12dabe02 (diff) | |
download | crawl-ref-04c60898820dcdbf47ab1adca6bdb7a2fd3cd2b0.tar.gz crawl-ref-04c60898820dcdbf47ab1adca6bdb7a2fd3cd2b0.zip |
Go back to checking for wearing the amulet of the gourmand when
necessary, as it differentiates from the gourmand mutation properly.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9166 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index dcb87ca3d0..d9d84c9d10 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1296,7 +1296,7 @@ bool player_likes_chunks(bool permanently) { return (player_mutation_level(MUT_GOURMAND) > 0 || player_mutation_level(MUT_CARNIVOROUS) > 0 - || (!permanently && you.duration[DUR_GOURMAND] > 0)); + || (!permanently && wearing_amulet(AMU_THE_GOURMAND))); } // If temp is set to false, temporary sources or resistance won't be counted. |