From 1c60e420b61705e82b301caacb9760ef4d1090dc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 Mar 2015 12:27:27 +0300 Subject: eathena: fix packet SMSG_RANKS_LIST. --- src/net/eathena/beinghandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/net/eathena/beinghandler.cpp') 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"); } -- cgit v1.2.3-70-g09d2