diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-29 22:26:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-29 22:26:48 +0300 |
commit | 1139d3bea995fbd19a39c9609cc1602107404de5 (patch) | |
tree | b0844216f4e94e50f397d7b4f65f82d6d4a15045 /src/net | |
parent | 3bf4e26b1319295532bb4396cbd6406d85cbcae0 (diff) | |
download | mv-1139d3bea995fbd19a39c9609cc1602107404de5.tar.gz mv-1139d3bea995fbd19a39c9609cc1602107404de5.tar.bz2 mv-1139d3bea995fbd19a39c9609cc1602107404de5.tar.xz mv-1139d3bea995fbd19a39c9609cc1602107404de5.zip |
Fix small error in manaserv code.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/manaserv/inventoryhandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/inventoryhandler.h b/src/net/manaserv/inventoryhandler.h index af340399e..88bb0510d 100644 --- a/src/net/manaserv/inventoryhandler.h +++ b/src/net/manaserv/inventoryhandler.h @@ -36,7 +36,7 @@ class EquipBackend : public Equipment::Backend { public: EquipBackend() - { memset(mEquipment, 0, sizeof(mEquipment)); } + { memset(mEquipment, 0, sizeof(*mEquipment); } Item *getEquipment(int index) const { return mEquipment[index]; } |