diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-07 21:45:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-07 21:45:58 +0300 |
commit | 9b9f5b35556106799bd72da8f07bd1976b60454a (patch) | |
tree | 25588b3ce8610c1b5db083012d0d6051a1c1cebf /src/net/eathena/playerhandler.cpp | |
parent | 4cce9fe89ce1e53f901f07cdb626b63f662e1e17 (diff) | |
download | plus-9b9f5b35556106799bd72da8f07bd1976b60454a.tar.gz plus-9b9f5b35556106799bd72da8f07bd1976b60454a.tar.bz2 plus-9b9f5b35556106799bd72da8f07bd1976b60454a.tar.xz plus-9b9f5b35556106799bd72da8f07bd1976b60454a.zip |
Fix compilation warnings.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 77ad01e19..35759bfd6 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -330,10 +330,10 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg) void PlayerHandler::processPlayerGetExp(Net::MessageIn &msg) { - const int id = msg.readInt32("player id"); - const int exp = msg.readInt32("exp amount"); - const int type = msg.readInt16("exp type"); - const int isQuest = msg.readInt16("is from quest"); + msg.readInt32("player id"); + msg.readInt32("exp amount"); + msg.readInt16("exp type"); + msg.readInt16("is from quest"); // Being *dstBeing = actorManager->findBeing(id); // need show particle depend on isQuest flag, for now ignored } |