summaryrefslogtreecommitdiff
path: root/src/shopitem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 19:26:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:26:08 +0300
commit4d892bd515041fbabfccc36cd1ea55141cf82c24 (patch)
tree46ffcebd36aee75694dd068258837168af6b171a /src/shopitem.cpp
parent24c274b63f95636619b985db99311f6807e12170 (diff)
downloadplus-4d892bd515041fbabfccc36cd1ea55141cf82c24.tar.gz
plus-4d892bd515041fbabfccc36cd1ea55141cf82c24.tar.bz2
plus-4d892bd515041fbabfccc36cd1ea55141cf82c24.tar.xz
plus-4d892bd515041fbabfccc36cd1ea55141cf82c24.zip
Remove duplicate numbers from npc sell dialog.
Diffstat (limited to 'src/shopitem.cpp')
-rw-r--r--src/shopitem.cpp3
1 files changed, 0 insertions, 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);
}