summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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]; }