diff options
| author | m!nus <m1nus@online.de> | 2011-04-02 16:14:09 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-04-02 17:39:12 +0200 |
| commit | 63c46b3e562830db6c810472ea1e83a4c516fa6b (patch) | |
| tree | 895de346326a4d806f7f894c97a9a47f5d7c3384 /src/mastersrv/mastersrv.h | |
| parent | 3ebdc2a4ceb87c0787e9e5f31985879e4bd9a7f1 (diff) | |
| download | zcatch-63c46b3e562830db6c810472ea1e83a4c516fa6b.tar.gz zcatch-63c46b3e562830db6c810472ea1e83a4c516fa6b.zip | |
changed how server types are distinguished and fixed a few bugs
Diffstat (limited to 'src/mastersrv/mastersrv.h')
| -rw-r--r-- | src/mastersrv/mastersrv.h | 7 |
1 files changed, 7 insertions, 0 deletions
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]; |