summaryrefslogtreecommitdiff
path: root/src/item.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-11 23:17:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-11 23:17:58 +0300
commit4dbda55f670866db29a64ca7a79500efbe6f8d00 (patch)
treeddf806b499dcb4896568278b05defad1f27bcd06 /src/item.cpp
parentfbb1186a319794dba7c23c466c07d6f45f940b8e (diff)
downloadmanaverse-4dbda55f670866db29a64ca7a79500efbe6f8d00.tar.gz
manaverse-4dbda55f670866db29a64ca7a79500efbe6f8d00.tar.bz2
manaverse-4dbda55f670866db29a64ca7a79500efbe6f8d00.tar.xz
manaverse-4dbda55f670866db29a64ca7a79500efbe6f8d00.zip
Replace some getters to direct fileds using.
Diffstat (limited to 'src/item.cpp')
-rw-r--r--src/item.cpp2
1 files changed, 1 insertions, 1 deletions
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),