aboutsummaryrefslogtreecommitdiff
path: root/src/game/Item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Item.h')
-rw-r--r--src/game/Item.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/game/Item.h b/src/game/Item.h
index 60d04559e79..cc6cfe2208d 100644
--- a/src/game/Item.h
+++ b/src/game/Item.h
@@ -220,23 +220,10 @@ bool ItemCanGoIntoBag(ItemPrototype const *proto, ItemPrototype const *pBagProto
struct ItemRefund
{
- ItemRefund()
- {
- paidMoney = 0;
- paidHonorPoints = 0;
- paidArenaPoints = 0;
- for (uint8 i=0;i<5;++i)
- {
- paidItemId[i] = 0;
- paidItemCount[i] = 0;
- }
- }
+ ItemRefund() : paidMoney(0), paidExtendedCost(0) {}
uint32 eligibleFor;
uint32 paidMoney;
- uint32 paidHonorPoints;
- uint32 paidArenaPoints;
- uint32 paidItemId[5];
- uint32 paidItemCount[5];
+ uint32 paidExtendedCost;
};
class Item : public Object