summaryrefslogtreecommitdiff
path: root/src/shopitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shopitem.cpp')
-rw-r--r--src/shopitem.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/shopitem.cpp b/src/shopitem.cpp
index f1fb42b79..af773bb2a 100644
--- a/src/shopitem.cpp
+++ b/src/shopitem.cpp
@@ -34,7 +34,9 @@ ShopItem::ShopItem(const int inventoryIndex, const int id,
const int quantity, const int price) :
Item(id, 0, 0, color),
mPrice(price),
- mShowQuantity(true)
+ mDisplayName(),
+ mShowQuantity(true),
+ mDuplicates()
{
if (serverVersion > 0)
{
@@ -56,7 +58,9 @@ ShopItem::ShopItem(const int inventoryIndex, const int id,
ShopItem::ShopItem(const int id, const unsigned char color, const int price) :
Item(id, 0, 0, color),
mPrice(price),
- mShowQuantity(false)
+ mDisplayName(),
+ mShowQuantity(false),
+ mDuplicates()
{
if (serverVersion > 0)
{