diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-12 12:27:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-12 12:27:27 +0300 |
commit | 1c60e420b61705e82b301caacb9760ef4d1090dc (patch) | |
tree | 9b4b62d61c28aa819b66fa833f0a40771bbe8fd1 /src/net | |
parent | f4768ac990cbb0c0803c7eefef53df036b570a29 (diff) | |
download | mv-1c60e420b61705e82b301caacb9760ef4d1090dc.tar.gz mv-1c60e420b61705e82b301caacb9760ef4d1090dc.tar.bz2 mv-1c60e420b61705e82b301caacb9760ef4d1090dc.tar.xz mv-1c60e420b61705e82b301caacb9760ef4d1090dc.zip |
eathena: fix packet SMSG_RANKS_LIST.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 3 |
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"); } |