summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/inventoryhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index dae6e9aba..5e1a7fd95 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -1000,7 +1000,7 @@ void InventoryHandler::processPlayerRepairList(Net::MessageIn &msg)
{
UNIMPLIMENTEDPACKET;
- const int count = (msg.readInt16("len" - 4)) / 13;
+ const int count = (msg.readInt16("len") - 4) / 13;
for (int f = 0; f < count; f ++)
{
msg.readInt16("index");