From c6997f8ee41d5f85dd8a1269e82982e1ab0b5c74 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Nov 2015 21:29:51 +0300 Subject: In personal shops in sell dialog shop no existing items with amount 0 and disabled. Only for legacy servers. --- src/shopitem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shopitem.cpp') diff --git a/src/shopitem.cpp b/src/shopitem.cpp index eb7499522..db60e35f8 100644 --- a/src/shopitem.cpp +++ b/src/shopitem.cpp @@ -49,7 +49,8 @@ ShopItem::ShopItem(const int inventoryIndex, mPrice(price), mUsedQuantity(0), mShowQuantity(true), - mVisible(true) + mVisible(true), + mDisabled(false) { updateDisplayName(quantity); setInvIndex(inventoryIndex); -- cgit v1.2.3-70-g09d2