diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-18 19:57:48 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-18 19:57:48 +0000 |
commit | ff00ffd9da330a94bd282bcc127157672e589a9a (patch) | |
tree | 1e24a45b62d2112279b7043594c9c4638bbe54d1 /crawl-ref/source/acr.cc | |
parent | cb1d25a9a8371edb63bc1721b616df12c4e790c2 (diff) | |
download | crawl-ref-ff00ffd9da330a94bd282bcc127157672e589a9a.tar.gz crawl-ref-ff00ffd9da330a94bd282bcc127157672e589a9a.zip |
Add miscellaneous minor fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7476 c06c8d41-db1a-0410-9941-cceddc491573
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, |