From 63c46b3e562830db6c810472ea1e83a4c516fa6b Mon Sep 17 00:00:00 2001 From: m!nus Date: Sat, 2 Apr 2011 16:14:09 +0200 Subject: changed how server types are distinguished and fixed a few bugs --- src/mastersrv/mastersrv.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mastersrv/mastersrv.h') diff --git a/src/mastersrv/mastersrv.h b/src/mastersrv/mastersrv.h index 48870819..63a998e3 100644 --- a/src/mastersrv/mastersrv.h +++ b/src/mastersrv/mastersrv.h @@ -4,6 +4,13 @@ #define MASTERSRV_MASTERSRV_H static const int MASTERSERVER_PORT = 8300; +enum ServerType +{ + SERVERTYPE_INVALID = -1, + SERVERTYPE_NORMAL, + SERVERTYPE_LEGACY +}; + struct CMastersrvAddr { unsigned char m_aType[4]; -- cgit 1.4.1