From 58052f88adc3884f77625f6ba330c625c25fa4a0 Mon Sep 17 00:00:00 2001 From: Sean Hunt Date: Tue, 26 May 2015 08:59:31 +0900 Subject: [PATCH] Count only stacks when listing container contents. By popular demand of the beta testers. --- src/objnam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));