diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-14 22:44:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-14 22:44:37 +0300 |
commit | e1841e31c606f1d97ea54c3f00f3380db814f3d2 (patch) | |
tree | fa9c9b178fe5ba9ca931e67332aef016efa95145 /src/net/eathena/playerhandler.cpp | |
parent | 72938b640199d03d6092366224d3927d5d2a33b9 (diff) | |
download | manaverse-e1841e31c606f1d97ea54c3f00f3380db814f3d2.tar.gz manaverse-e1841e31c606f1d97ea54c3f00f3380db814f3d2.tar.bz2 manaverse-e1841e31c606f1d97ea54c3f00f3380db814f3d2.tar.xz manaverse-e1841e31c606f1d97ea54c3f00f3380db814f3d2.zip |
Rename readInt8 into readUInt8 because it really read uint8_t.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 2aad363c0..150e86d6c 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -230,7 +230,7 @@ void PlayerHandler::processPlayerShortcuts(Net::MessageIn &msg) { for (int f = 0; f < 27; f ++) { - msg.readInt8(); // type 0: item, 1: skill + msg.readUInt8(); // type 0: item, 1: skill msg.readInt32(); // item or skill id msg.readInt16(); // lvl } @@ -238,7 +238,7 @@ void PlayerHandler::processPlayerShortcuts(Net::MessageIn &msg) void PlayerHandler::processPlayerShowEquip(Net::MessageIn &msg) { - msg.readInt8(); // show equip + msg.readUInt8(); // show equip } } // namespace EAthena |