From c32f87e569b328e5a8fa50315c85a73096f63b1a Mon Sep 17 00:00:00 2001 From: dploog Date: Tue, 6 May 2008 22:59:16 +0000 Subject: 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 --- crawl-ref/source/items.cc | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'crawl-ref/source/items.cc') 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; -- cgit v1.2.3-54-g00ecf