From 158e2b5eb03ae01bf5c49f87292bf7aca8ae749b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Sep 2017 18:40:47 +0300 Subject: Fix code style. --- src/net/eathena/charserverrecv.cpp | 3 ++- src/net/protocoloutupdate.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/net') 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 -- cgit v1.2.3-60-g2f50