From: Sean Hunt Date: Mon, 25 May 2015 23:59:31 +0000 (+0900) Subject: Count only stacks when listing container contents. X-Git-Tag: NetHack-3.6.0_RC01~355 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58052f88adc3884f77625f6ba330c625c25fa4a0;p=nethack Count only stacks when listing container contents. By popular demand of the beta testers. --- diff --git a/src/objnam.c b/src/objnam.c index 2ef41f5b9..8f66d253b 100644 --- a/src/objnam.c +++ b/src/objnam.c @@ -818,7 +818,7 @@ register struct obj *obj; preference option to choose between the two alternatives) since it's somewhat odd so see "containing 1002 items" when there are 2 scrolls plus 1000 gold pieces */ - long itemcount = count_contents(obj, FALSE, TRUE, TRUE); + long itemcount = count_contents(obj, FALSE, FALSE, TRUE); Sprintf(eos(bp), " containing %ld item%s", itemcount, plur(itemcount));