summaryrefslogtreecommitdiff
path: root/src/net/eathena/vendingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-23 22:33:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-23 22:33:54 +0300
commitc910148e2f4ca8f19ad38aac7bf4fd5813aab38a (patch)
tree7c99582e4d7a94c3f3d09434a529db6d1c3b728e /src/net/eathena/vendingrecv.cpp
parentc0706c34b25085182525c524681d358ccdf3aacd (diff)
downloadplus-c910148e2f4ca8f19ad38aac7bf4fd5813aab38a.tar.gz
plus-c910148e2f4ca8f19ad38aac7bf4fd5813aab38a.tar.bz2
plus-c910148e2f4ca8f19ad38aac7bf4fd5813aab38a.tar.xz
plus-c910148e2f4ca8f19ad38aac7bf4fd5813aab38a.zip
Fix compilation warning.
Diffstat (limited to 'src/net/eathena/vendingrecv.cpp')
-rw-r--r--src/net/eathena/vendingrecv.cpp4
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");