diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-29 18:40:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-29 18:40:47 +0300 |
commit | 158e2b5eb03ae01bf5c49f87292bf7aca8ae749b (patch) | |
tree | d6aa6fc7edcdc19b8edf1222bb85b047710e94f5 /src/net | |
parent | 12b83ad925ecc0b6416a12a9f83757fbd1f04d79 (diff) | |
download | plus-158e2b5eb03ae01bf5c49f87292bf7aca8ae749b.tar.gz plus-158e2b5eb03ae01bf5c49f87292bf7aca8ae749b.tar.bz2 plus-158e2b5eb03ae01bf5c49f87292bf7aca8ae749b.tar.xz plus-158e2b5eb03ae01bf5c49f87292bf7aca8ae749b.zip |
Fix code style.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/charserverrecv.cpp | 3 | ||||
-rw-r--r-- | src/net/protocoloutupdate.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp index 8e64385ef..ec906f081 100644 --- a/src/net/eathena/charserverrecv.cpp +++ b/src/net/eathena/charserverrecv.cpp @@ -101,7 +101,8 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg, data.mAttributes[Attributes::PLAYER_JOB_EXP] = msg.readInt32("job exp"); } - data.mAttributes[Attributes::PLAYER_JOB_LEVEL] =msg.readInt32("job level"); + data.mAttributes[Attributes::PLAYER_JOB_LEVEL] = + msg.readInt32("job level"); msg.readInt16("shoes?"); const int gloves = msg.readInt16("gloves"); diff --git a/src/net/protocoloutupdate.h b/src/net/protocoloutupdate.h index f6f7a62b2..ea142a69d 100644 --- a/src/net/protocoloutupdate.h +++ b/src/net/protocoloutupdate.h @@ -22,7 +22,7 @@ #define NET_PROTOCOLOUTUPDATE_H #define packet(name, id, sz, comment) name = id -#define packet2(name, id, sz, comment) name = id + evolPacketOffset +#define packet2(name, id, sz, comment) name = (id) + evolPacketOffset #define PROTOCOLOUTUPDATE_VOID #endif // NET_PROTOCOLOUTUPDATE_H |