From 03725e818345745c8c383f339cc10c51a82ffdf0 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 22 Feb 2009 17:36:57 +0000 Subject: Clean up gourmand-related routines: only check for gourmand duration instead of checking for wearing the amulet *and* gourmand duration, account for gourmand (both the amulet and the mutation) in the output screen, and treat gourmand (both the amulet and the mutation) consistently with regard to potions of blood. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9153 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/output.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/output.cc') diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index 434b5dc504..7022b53ef7 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -2030,7 +2030,8 @@ static std::vector _get_overview_resistances( int saplevel = player_mutation_level(MUT_SAPROVOROUS); const char* pregourmand; const char* postgourmand; - if ( wearing_amulet(AMU_THE_GOURMAND, calc_unid) ) + + if (player_mutation_level(MUT_GOURMAND) || you.duration[DUR_GOURMAND] > 0) { pregourmand = "Gourmand : "; postgourmand = itosym1(1); -- cgit v1.2.3-54-g00ecf