diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-21 00:33:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-21 00:33:16 +0300 |
commit | c678b6861e5657f6bde32749f1b3322c837c26fb (patch) | |
tree | 2132a1a8e8612160915c8aa7c78cad0c8a71ac04 /src/net | |
parent | 39f265e503e11f2e48e7a54129f216b55e288ac3 (diff) | |
download | mv-c678b6861e5657f6bde32749f1b3322c837c26fb.tar.gz mv-c678b6861e5657f6bde32749f1b3322c837c26fb.tar.bz2 mv-c678b6861e5657f6bde32749f1b3322c837c26fb.tar.xz mv-c678b6861e5657f6bde32749f1b3322c837c26fb.zip |
Remove commented code from beingrecv.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 316ed2896..904e8ed23 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -445,18 +445,9 @@ void BeingRecv::processBeingMove(Net::MessageIn &msg) spawnId = BeingId_zero; Ea::BeingRecv::mSpawnId = BeingId_zero; int16_t speed = msg.readInt16("speed"); -// if (visible) -// { - const uint16_t stunMode = msg.readInt16("opt1"); - // probably wrong effect usage - uint32_t statusEffects = msg.readInt16("opt2"); -// } -// else -// { -// commented for now, probably it can be removed after testing -// msg.readInt16("body state"); -// msg.readInt16("health state"); -// } + const uint16_t stunMode = msg.readInt16("opt1"); + // probably wrong effect usage + uint32_t statusEffects = msg.readInt16("opt2"); statusEffects |= (CAST_U32(msg.readInt32("option"))) << 16; const int16_t job = msg.readInt16("class"); @@ -622,18 +613,9 @@ void BeingRecv::processBeingSpawn(Net::MessageIn &msg) Ea::BeingRecv::mSpawnId = id; const BeingId spawnId = id; int16_t speed = msg.readInt16("speed"); -// if (visible) -// { - const uint16_t stunMode = msg.readInt16("opt1"); - // probably wrong effect usage - uint32_t statusEffects = msg.readInt16("opt2"); -// } -// else -// { -// commented for now, probably it can be removed after testing -// msg.readInt16("body state"); -// msg.readInt16("health state"); -// } + const uint16_t stunMode = msg.readInt16("opt1"); + // probably wrong effect usage + uint32_t statusEffects = msg.readInt16("opt2"); statusEffects |= (CAST_U32(msg.readInt32("option"))) << 16; const int16_t job = msg.readInt16("class"); |