diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-29 16:56:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-29 16:56:45 +0300 |
commit | 973606a6dbd201050b7d4cd0a6a782ff742056f6 (patch) | |
tree | 4f951409d7dbde5eb201bf3c6b46f777c3ce39b8 /src/net/tmwa/beingrecv.cpp | |
parent | d528e58cdbd306a828882eb68855e81dda2a3e62 (diff) | |
download | plus-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.gz plus-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.bz2 plus-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.xz plus-973606a6dbd201050b7d4cd0a6a782ff742056f6.zip |
Fix code style.
Diffstat (limited to 'src/net/tmwa/beingrecv.cpp')
-rw-r--r-- | src/net/tmwa/beingrecv.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp index 6e326ea65..d77a4bffa 100644 --- a/src/net/tmwa/beingrecv.cpp +++ b/src/net/tmwa/beingrecv.cpp @@ -36,13 +36,13 @@ #include "gui/windows/outfitwindow.h" #include "gui/windows/socialwindow.h" +#include "net/beinghandler.h" +#include "net/messagein.h" #include "net/serverfeatures.h" #include "net/ea/beingrecv.h" #include "net/tmwa/guildmanager.h" -#include "net/tmwa/messageout.h" -#include "net/tmwa/protocol.h" #include "net/tmwa/sprite.h" #include "resources/iteminfo.h" @@ -750,7 +750,8 @@ void BeingRecv::processBeingVisible(Net::MessageIn &msg) const uint16_t shield = msg.readInt16("shield"); const uint16_t headTop = msg.readInt16("head top"); const uint16_t headMid = msg.readInt16("head mid"); - const ItemColor hairColor = fromInt(msg.readUInt8("hair color"), ItemColor); + const ItemColor hairColor = fromInt(msg.readUInt8("hair color"), + ItemColor); msg.readUInt8("unused"); const uint16_t shoes = msg.readInt16("shoes / clothes color"); |