diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-23 22:33:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-23 22:33:54 +0300 |
commit | c910148e2f4ca8f19ad38aac7bf4fd5813aab38a (patch) | |
tree | 7c99582e4d7a94c3f3d09434a529db6d1c3b728e /src/net | |
parent | c0706c34b25085182525c524681d358ccdf3aacd (diff) | |
download | manaplus-c910148e2f4ca8f19ad38aac7bf4fd5813aab38a.tar.gz manaplus-c910148e2f4ca8f19ad38aac7bf4fd5813aab38a.tar.bz2 manaplus-c910148e2f4ca8f19ad38aac7bf4fd5813aab38a.tar.xz manaplus-c910148e2f4ca8f19ad38aac7bf4fd5813aab38a.zip |
Fix compilation warning.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/vendingrecv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/vendingrecv.cpp b/src/net/eathena/vendingrecv.cpp index ad4635078..146f2102e 100644 --- a/src/net/eathena/vendingrecv.cpp +++ b/src/net/eathena/vendingrecv.cpp @@ -101,7 +101,7 @@ void VendingRecv::processItemsList(Net::MessageIn &msg) cards[d] = msg.readInt16("card"); if (serverVersion >= 8 && packetVersion >= 20150226) { - for (int f = 0; f < 5; f ++) + for (int d = 0; d < 5; d ++) { msg.readInt16("rnd index"); msg.readInt16("rnd value"); @@ -144,7 +144,7 @@ void VendingRecv::processOpen(Net::MessageIn &msg) msg.readInt16("card"); if (serverVersion >= 8 && packetVersion >= 20150226) { - for (int f = 0; f < 5; f ++) + for (int d = 0; d < 5; d ++) { msg.readInt16("rnd index"); msg.readInt16("rnd value"); |