diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-26 12:23:53 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-26 12:23:53 -0500 |
commit | ac8fb19f6ee347add6041c89c241eb59713c7644 (patch) | |
tree | 35da376f9b512ec592bb0c47dc5198bc2a5149bc /crawl-ref/source/items.cc | |
parent | 981c9b9d5a9881b9dd00a9ab69c0565fc945b8e8 (diff) | |
download | crawl-ref-ac8fb19f6ee347add6041c89c241eb59713c7644.tar.gz crawl-ref-ac8fb19f6ee347add6041c89c241eb59713c7644.zip |
Fix inconsistencies in gold-related messages.
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r-- | crawl-ref/source/items.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index 975a4da142..d7a14476fa 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -1483,14 +1483,14 @@ void note_inscribe_item(item_def &item) // Returns quantity of items moved into player's inventory and -1 if // the player's inventory is full. -int move_item_to_player( int obj, int quant_got, bool quiet, - bool ignore_burden ) +int move_item_to_player(int obj, int quant_got, bool quiet, + bool ignore_burden) { if (item_is_stationary(mitm[obj])) { mpr("You cannot pick up the net that holds you!"); - // Fake a successful pickup (return 1), so we can continue to pick up - // anything else that might be on this square. + // Fake a successful pickup (return 1), so we can continue to + // pick up anything else that might be on this square. return (1); } @@ -1501,12 +1501,12 @@ int move_item_to_player( int obj, int quant_got, bool quiet, { you.attribute[ATTR_GOLD_FOUND] += quant_got; you.gold += quant_got; - dec_mitm_item_quantity( obj, quant_got ); + dec_mitm_item_quantity(obj, quant_got); if (!quiet) { mprf("You now have %d gold piece%s.", - you.gold, you.gold > 1 ? "s" : ""); + you.gold, you.gold != 1 ? "s" : ""); } learned_something_new(TUT_SEEN_GOLD); |