From 6b894220f3c029d256f7f15f41ecb2f635d25bde Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 May 2011 22:14:56 +0300 Subject: Add more MANASERV_SUPPORT defines to disable server type checks, if manaserv disabled. Fix some compilation warnings. --- src/net/messagein.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/messagein.cpp') diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp index 9ffc052f6..12d086207 100644 --- a/src/net/messagein.cpp +++ b/src/net/messagein.cpp @@ -115,7 +115,9 @@ void MessageIn::readCoordinates(Uint16 &x, Uint16 &y, Uint8 &direction) direction = 9; break; case 8: +#ifdef MANASERV_SUPPORT if (Net::getNetworkType() == ServerInfo::TMWATHENA) +#endif { direction = 8; break; -- cgit v1.2.3-70-g09d2