summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 22:26:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 22:26:48 +0300
commit1139d3bea995fbd19a39c9609cc1602107404de5 (patch)
treeb0844216f4e94e50f397d7b4f65f82d6d4a15045 /src
parent3bf4e26b1319295532bb4396cbd6406d85cbcae0 (diff)
downloadmanaplus-1139d3bea995fbd19a39c9609cc1602107404de5.tar.gz
manaplus-1139d3bea995fbd19a39c9609cc1602107404de5.tar.bz2
manaplus-1139d3bea995fbd19a39c9609cc1602107404de5.tar.xz
manaplus-1139d3bea995fbd19a39c9609cc1602107404de5.zip
Fix small error in manaserv code.
Diffstat (limited to 'src')
-rw-r--r--src/net/manaserv/inventoryhandler.h2
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]; }