diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-13 12:20:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-13 12:20:19 +0300 |
commit | f0b7627b7d88c1d5bb484961377114b210c8dd53 (patch) | |
tree | a978c3b8eca88759fa71b5fc34112f4bea9bbcec /src/net/eathena/beinghandler.cpp | |
parent | d9be27bba8941260500066cdd43ebb016356bc67 (diff) | |
download | mv-f0b7627b7d88c1d5bb484961377114b210c8dd53.tar.gz mv-f0b7627b7d88c1d5bb484961377114b210c8dd53.tar.bz2 mv-f0b7627b7d88c1d5bb484961377114b210c8dd53.tar.xz mv-f0b7627b7d88c1d5bb484961377114b210c8dd53.zip |
Fix code style.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index a11f3bae8..e21a1d0e6 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -434,7 +434,7 @@ void BeingHandler::processPlayerMoveUpdate(Net::MessageIn &msg, const uint16_t stunMode = msg.readInt16(); // opt1 uint32_t statusEffects = msg.readInt16(); // opt2 statusEffects |= (static_cast<uint16_t>(msg.readInt16())) - << 16; // status.options; Aethyra uses this as misc2 + << 16U; // status.options; Aethyra uses this as misc2 const int16_t job = msg.readInt16(); int disguiseId = 0; if (id < 110000000 && job >= 1000) @@ -648,7 +648,8 @@ void BeingHandler::processBeingVisibleOrMove(Net::MessageIn &msg, int16_t speed = msg.readInt16(); const uint16_t stunMode = msg.readInt16(); // opt1 uint32_t statusEffects = msg.readInt16(); // opt2 - statusEffects |= (static_cast<uint16_t>(msg.readInt16())) << 16; // option + statusEffects |= (static_cast<uint16_t>( + msg.readInt16())) << 16U; // option const int16_t job = msg.readInt16(); // class Being *dstBeing = actorManager->findBeing(id); |