summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-12 12:27:27 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-12 12:27:27 +0300
commit1c60e420b61705e82b301caacb9760ef4d1090dc (patch)
tree9b4b62d61c28aa819b66fa833f0a40771bbe8fd1 /src/net/eathena
parentf4768ac990cbb0c0803c7eefef53df036b570a29 (diff)
downloadplus-1c60e420b61705e82b301caacb9760ef4d1090dc.tar.gz
plus-1c60e420b61705e82b301caacb9760ef4d1090dc.tar.bz2
plus-1c60e420b61705e82b301caacb9760ef4d1090dc.tar.xz
plus-1c60e420b61705e82b301caacb9760ef4d1090dc.zip
eathena: fix packet SMSG_RANKS_LIST.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/beinghandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 2e599ffbb..9b035b136 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -1324,10 +1324,9 @@ void BeingHandler::processRanksList(Net::MessageIn &msg)
// +++ here need window with rank tables.
msg.readInt16("rank type");
for (int f = 0; f < 10; f ++)
- {
msg.readString(24, "name");
+ for (int f = 0; f < 10; f ++)
msg.readInt32("points");
- }
msg.readInt32("my points");
}