From 4d892bd515041fbabfccc36cd1ea55141cf82c24 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Oct 2014 19:26:08 +0300 Subject: Remove duplicate numbers from npc sell dialog. --- src/shopitem.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/shopitem.cpp b/src/shopitem.cpp index ecb129112..383f96a03 100644 --- a/src/shopitem.cpp +++ b/src/shopitem.cpp @@ -42,9 +42,6 @@ ShopItem::ShopItem(const int inventoryIndex, const int id, mShowQuantity(true) { updateDisplayName(quantity); - if (quantity > 1) - mDisplayName.append("[").append(toString(quantity)).append("]"); - setInvIndex(inventoryIndex); addDuplicate(inventoryIndex, quantity); } -- cgit v1.2.3-70-g09d2