diff options
Diffstat (limited to 'masterserver/src/main.cpp')
| -rw-r--r-- | masterserver/src/main.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/masterserver/src/main.cpp b/masterserver/src/main.cpp deleted file mode 100644 index 380830ad..00000000 --- a/masterserver/src/main.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include <cstdio> -#include <cstdlib> - -#include "masterserver.h" - -int main(int argc, char *argv[]) -{ - if (argc != 2) - { - puts("Usage: masterserver <port> (this will bind the server to the port specified (both udp and tcp)."); - return -1; - } - - int port = atoi(argv[1]); - - CMasterServer masterServer; - masterServer.Init(port); - - while (1) - { - masterServer.Tick(); - - thread_sleep(10); - } - - masterServer.Shutdown(); - - return 0; -} |