From 9239957b3a21a1498323b7af2b2910bc75f72859 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Feb 2015 15:56:51 +0300 Subject: add function for convert server direction into client direction. --- src/net/messageout.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/messageout.h') diff --git a/src/net/messageout.h b/src/net/messageout.h index ecab8ec54..13a4eae1b 100644 --- a/src/net/messageout.h +++ b/src/net/messageout.h @@ -83,6 +83,8 @@ class MessageOut notfinal virtual ~MessageOut() { } + static unsigned char toServerDirection(unsigned char direction); + protected: /** * Constructor. -- cgit v1.2.3-70-g09d2