summaryrefslogtreecommitdiff
path: root/src/net/eathena/vendingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-19 20:27:29 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-19 20:27:47 +0300
commitb37388b381a1251683c588189f496eb47b590769 (patch)
tree1d9d1554b7f6be8c81e612a70113c3c458ab1e99 /src/net/eathena/vendingrecv.cpp
parent62d4e9b8cf09fdb490dca4388447c87cf6afd573 (diff)
downloadplus-b37388b381a1251683c588189f496eb47b590769.tar.gz
plus-b37388b381a1251683c588189f496eb47b590769.tar.bz2
plus-b37388b381a1251683c588189f496eb47b590769.tar.xz
plus-b37388b381a1251683c588189f496eb47b590769.zip
Rename rnd fields into option fields in packets.
Diffstat (limited to 'src/net/eathena/vendingrecv.cpp')
-rw-r--r--src/net/eathena/vendingrecv.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/eathena/vendingrecv.cpp b/src/net/eathena/vendingrecv.cpp
index 6d583bca6..7eeb1e65e 100644
--- a/src/net/eathena/vendingrecv.cpp
+++ b/src/net/eathena/vendingrecv.cpp
@@ -134,9 +134,9 @@ void VendingRecv::processItemsList(Net::MessageIn &msg)
{
for (int d = 0; d < 5; d ++)
{
- msg.readInt16("rnd index");
- msg.readInt16("rnd value");
- msg.readUInt8("rnd param");
+ msg.readInt16("option index");
+ msg.readInt16("option value");
+ msg.readUInt8("option param");
}
}
@@ -210,9 +210,9 @@ void VendingRecv::processOpen(Net::MessageIn &msg)
{
for (int d = 0; d < 5; d ++)
{
- msg.readInt16("rnd index");
- msg.readInt16("rnd value");
- msg.readUInt8("rnd param");
+ msg.readInt16("option index");
+ msg.readInt16("option value");
+ msg.readUInt8("option param");
}
}
}