diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-22 19:24:52 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-22 19:24:52 +0000 |
commit | fc4cb8c992a44ac2293604dc084e39ba12d326d1 (patch) | |
tree | 6aa9a1025195c7d811a69d5899c6cf7f0a5e7c65 /crawl-ref/source/output.cc | |
parent | 6aabd413b54974e3c839762af2c076d09e38fce2 (diff) | |
download | crawl-ref-fc4cb8c992a44ac2293604dc084e39ba12d326d1.tar.gz crawl-ref-fc4cb8c992a44ac2293604dc084e39ba12d326d1.zip |
Check for wearing the amulet of the gourmand again in the "%" screen, so
that gourmand status isn't given away by an unidentified one.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9160 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index 7022b53ef7..32dd1728c1 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -2031,7 +2031,8 @@ static std::vector<formatted_string> _get_overview_resistances( const char* pregourmand; const char* postgourmand; - if (player_mutation_level(MUT_GOURMAND) || you.duration[DUR_GOURMAND] > 0) + if (player_mutation_level(MUT_GOURMAND) + || wearing_amulet(AMU_THE_GOURMAND, calc_unid)) { pregourmand = "Gourmand : "; postgourmand = itosym1(1); |