diff options
Diffstat (limited to 'src/shopitem.cpp')
-rw-r--r-- | src/shopitem.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/shopitem.cpp b/src/shopitem.cpp index 5573eb37..00875a2d 100644 --- a/src/shopitem.cpp +++ b/src/shopitem.cpp @@ -24,8 +24,7 @@ #include "utils/stringutils.h" -ShopItem::ShopItem (int inventoryIndex, int id, - int quantity, int price) : +ShopItem::ShopItem (int inventoryIndex, int id, int quantity, int price) : Item (id, 0), mPrice(price) { mDisplayName = getInfo().getName() + " (" + toString(mPrice) + " GP)"; @@ -50,8 +49,7 @@ ShopItem::~ShopItem() } } -void ShopItem::addDuplicate(int inventoryIndex, - int quantity) +void ShopItem::addDuplicate(int inventoryIndex, int quantity) { DuplicateItem* di = new DuplicateItem; di->inventoryIndex = inventoryIndex; |