diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-23 00:10:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-23 00:10:43 +0300 |
commit | d97189f055798b5b2051c1c5770a3def62747461 (patch) | |
tree | d66a891dba33d2ce1c882e0de7d6145bb2e0326b /src/inventory.h | |
parent | 25dce1399e40f24809842303d48ef090439de1e5 (diff) | |
download | manaplus-d97189f055798b5b2051c1c5770a3def62747461.tar.gz manaplus-d97189f055798b5b2051c1c5770a3def62747461.tar.bz2 manaplus-d97189f055798b5b2051c1c5770a3def62747461.tar.xz manaplus-d97189f055798b5b2051c1c5770a3def62747461.zip |
Improve perfomance in some object constructors.
Diffstat (limited to 'src/inventory.h')
-rw-r--r-- | src/inventory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h index 85756b66f..74f3e695d 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -161,8 +161,8 @@ class Inventory void distributeSlotsChangedEvent(); int mType; - Item **mItems; /**< The holder of items */ unsigned mSize; /**< The max number of inventory items */ + Item **mItems; /**< The holder of items */ int mUsed; /**< THe number of slots in use */ }; |