diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-11 21:29:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-11 21:30:42 +0300 |
commit | c6997f8ee41d5f85dd8a1269e82982e1ab0b5c74 (patch) | |
tree | d34c46ef9d3cf927c6b3a0756cfa6d87283773a8 /src/shopitem.cpp | |
parent | 540ddb5411378d5e60c942cda230ddf186bdfbc6 (diff) | |
download | manaplus-c6997f8ee41d5f85dd8a1269e82982e1ab0b5c74.tar.gz manaplus-c6997f8ee41d5f85dd8a1269e82982e1ab0b5c74.tar.bz2 manaplus-c6997f8ee41d5f85dd8a1269e82982e1ab0b5c74.tar.xz manaplus-c6997f8ee41d5f85dd8a1269e82982e1ab0b5c74.zip |
In personal shops in sell dialog shop no existing items with amount 0 and disabled.
Only for legacy servers.
Diffstat (limited to 'src/shopitem.cpp')
-rw-r--r-- | src/shopitem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |