From 1139d3bea995fbd19a39c9609cc1602107404de5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Mar 2012 22:26:48 +0300 Subject: Fix small error in manaserv code. --- src/net/manaserv/inventoryhandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } -- cgit v1.2.3-70-g09d2