From 4dbda55f670866db29a64ca7a79500efbe6f8d00 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Oct 2012 23:17:58 +0300 Subject: Replace some getters to direct fileds using. --- src/item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/item.cpp') diff --git a/src/item.cpp b/src/item.cpp index 0c12020aa..592d20633 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -36,9 +36,9 @@ extern int serverVersion; Item::Item(const int id, const int quantity, const int refine, const unsigned char color, const bool equipment, const bool equipped): + mQuantity(quantity), mImage(nullptr), mDrawImage(nullptr), - mQuantity(quantity), mEquipment(equipment), mEquipped(equipped), mInEquipment(false), -- cgit v1.2.3-70-g09d2