summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
authordploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-06 22:59:16 +0000
committerdploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-06 22:59:16 +0000
commitc32f87e569b328e5a8fa50315c85a73096f63b1a (patch)
treeb650d234e1fea651c75b058aabc52ec10412a79a /crawl-ref/source/items.cc
parent017e7d18d81b2f3b4814e0f59ba38921bc624f1c (diff)
downloadcrawl-ref-c32f87e569b328e5a8fa50315c85a73096f63b1a.tar.gz
crawl-ref-c32f87e569b328e5a8fa50315c85a73096f63b1a.zip
Only display total gold whenever picking up coins.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4896 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc13
1 files changed, 2 insertions, 11 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index be4702016d..1664396532 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -1473,17 +1473,8 @@ int move_item_to_player( int obj, int quant_got, bool quiet )
if (!quiet)
{
- if (quant_got == you.gold)
- {
- mprf("You pick up %d gold piece%s.",
- quant_got, (quant_got > 1) ? "s" : "");
- }
- else
- {
- mprf("You pick up %d gold piece%s, bringing you to a "
- "total of %d gold pieces.",
- quant_got, (quant_got > 1) ? "s" : "", you.gold );
- }
+ mprf("You now have %d gold piece%s.",
+ you.gold, (you.gold > 1) ? "s" : "");
}
you.turn_is_over = true;