diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-01 19:26:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-01 19:26:08 +0300 |
commit | 4d892bd515041fbabfccc36cd1ea55141cf82c24 (patch) | |
tree | 46ffcebd36aee75694dd068258837168af6b171a | |
parent | 24c274b63f95636619b985db99311f6807e12170 (diff) | |
download | manaplus-4d892bd515041fbabfccc36cd1ea55141cf82c24.tar.gz manaplus-4d892bd515041fbabfccc36cd1ea55141cf82c24.tar.bz2 manaplus-4d892bd515041fbabfccc36cd1ea55141cf82c24.tar.xz manaplus-4d892bd515041fbabfccc36cd1ea55141cf82c24.zip |
Remove duplicate numbers from npc sell dialog.
-rw-r--r-- | src/shopitem.cpp | 3 |
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); } |