diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-21 12:30:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-21 12:30:17 +0300 |
commit | 40a60a7bb7fd3291fde0a2a689f674a8169c7b64 (patch) | |
tree | 9410a23feea6c6248612afdc8968a1c04306e5b0 /src/shopitem.cpp | |
parent | 76e55447563fae6f8d17f2fd90231c81e0b3f927 (diff) | |
download | manaverse-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.gz manaverse-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.bz2 manaverse-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.xz manaverse-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.zip |
Add to item field damaged.
Diffstat (limited to 'src/shopitem.cpp')
-rw-r--r-- | src/shopitem.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/shopitem.cpp b/src/shopitem.cpp index 6e01eabf6..b3122d762 100644 --- a/src/shopitem.cpp +++ b/src/shopitem.cpp @@ -32,10 +32,12 @@ #include "debug.h" -ShopItem::ShopItem(const int inventoryIndex, const int id, +ShopItem::ShopItem(const int inventoryIndex, + const int id, const unsigned char color, - const int quantity, const int price) : - Item(id, 0, 0, color, true, false, false), + const int quantity, + const int price) : + Item(id, 0, 0, color, true, false, false, false), mDisplayName(), mDuplicates(), mPrice(price), @@ -47,7 +49,7 @@ 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, true, false, false), + Item(id, 0, 0, color, true, false, false, false), mDisplayName(), mDuplicates(), mPrice(price), |