summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 21:35:39 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 21:35:39 +0300
commit20d5e9013dec67afe4acd260bb28057b602cb626 (patch)
treeea8fc5c3eb1181b97df473adccc6bc6568399deb /src/net/eathena
parent8b3c8b59e29dec385efc29c11d2917416ca66d04 (diff)
downloadplus-20d5e9013dec67afe4acd260bb28057b602cb626.tar.gz
plus-20d5e9013dec67afe4acd260bb28057b602cb626.tar.bz2
plus-20d5e9013dec67afe4acd260bb28057b602cb626.tar.xz
plus-20d5e9013dec67afe4acd260bb28057b602cb626.zip
Fix compilation warning.
Diffstat (limited to 'src/net/eathena')
-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");