From b2ac4def24379db588ffa52ca63676710f18b4fc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Mar 2011 00:27:45 +0200 Subject: Fix code style and add small optimisations. --- src/net/tmwa/messageout.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/net/tmwa/messageout.cpp') diff --git a/src/net/tmwa/messageout.cpp b/src/net/tmwa/messageout.cpp index 17314937d..b6fcc09a1 100644 --- a/src/net/tmwa/messageout.cpp +++ b/src/net/tmwa/messageout.cpp @@ -82,7 +82,8 @@ void MessageOut::writeInt32(Sint32 value) } #define LOBYTE(w) (static_cast(w)) -#define HIBYTE(w) (static_cast((static_cast(w)) >> 8)) +#define HIBYTE(w) (static_cast(( \ +static_cast(w)) >> 8)) void MessageOut::writeCoordinates(unsigned short x, unsigned short y, unsigned char direction) -- cgit v1.2.3-60-g2f50