From b27338573f455ac730e6bcca9d46b50391ddf7b3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 27 Jul 2018 19:44:13 +0300 Subject: Fix code style. --- src/net/eathena/playerhandler.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/net/eathena/playerhandler.cpp') diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index d82e28a05..0380ec098 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -800,12 +800,12 @@ void PlayerHandler::selectStyle(const int headColor, if (packetVersion < 20151104) return; createOutPacket(CMSG_PLAYER_SELECT_STYLE); - outMsg.writeInt16(headColor, "head color"); - outMsg.writeInt16(headStyle, "head style"); - outMsg.writeInt16(bodyColor, "body color"); - outMsg.writeInt16(topStyle, "top style"); - outMsg.writeInt16(middleStyle, "middle style"); - outMsg.writeInt16(bottomStyle, "bottom style"); + outMsg.writeInt16(CAST_S16(headColor), "head color"); + outMsg.writeInt16(CAST_S16(headStyle), "head style"); + outMsg.writeInt16(CAST_S16(bodyColor), "body color"); + outMsg.writeInt16(CAST_S16(topStyle), "top style"); + outMsg.writeInt16(CAST_S16(middleStyle), "middle style"); + outMsg.writeInt16(CAST_S16(bottomStyle), "bottom style"); } #undef setStatComplex -- cgit v1.2.3-60-g2f50