diff options
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 166c029f5c..d813caf12a 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -2410,7 +2410,7 @@ void process_command( command_type cmd ) case CMD_LIST_GOLD: mprf("You have %d gold piece%s.", - you.gold, (you.gold > 1) ? "s" : ""); + you.gold, you.gold > 1 ? "s" : ""); break; case CMD_INSCRIBE_ITEM: @@ -2857,12 +2857,11 @@ static void _decrement_durations() #if DEBUG_DIAGNOSTICS || DEBUG_SACRIFICE || DEBUG_PIETY mpr("Piety increases by 1 due to piety pool.", MSGCH_DIAGNOSTICS); - if (!you.duration[DUR_PIETY_POOL]) + if (you.duration[DUR_PIETY_POOL] == 0) mpr("Piety pool is now empty.", MSGCH_DIAGNOSTICS); #endif } - if (!you.permanent_levitation() && !you.permanent_flight()) { if (_decrement_a_duration(DUR_LEVITATION, |