diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 21:35:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 21:35:39 +0300 |
commit | 20d5e9013dec67afe4acd260bb28057b602cb626 (patch) | |
tree | ea8fc5c3eb1181b97df473adccc6bc6568399deb /src/net/eathena | |
parent | 8b3c8b59e29dec385efc29c11d2917416ca66d04 (diff) | |
download | plus-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.cpp | 2 |
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"); |