summaryrefslogtreecommitdiffhomepage
path: root/Starserver/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Starserver/Main.cpp')
-rw-r--r--Starserver/Main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Starserver/Main.cpp b/Starserver/Main.cpp
index a92df86..ef1a611 100644
--- a/Starserver/Main.cpp
+++ b/Starserver/Main.cpp
@@ -7,17 +7,18 @@
#include <InfoEx.h>
#include <NetLayer.h>
#include <Panic.h>
-#include <StarServer.h>
#include <Token.h>
#include <Utils.h>
#include <VersionInfo.h>
+#include "StarServer.h"
+
int dump_missions = 0;
int
-main(int argc, char * argv[])
+main(int, char*[])
{
AssignErrLog(fopen("serverlog.txt", "wb"));
Print("Starserver %s\n", versionInfo);
@@ -26,7 +27,7 @@ main(int argc, char * argv[])
try {
NetLayer net;
StarServer server;
- if (server.Init(nullptr, nullptr, nullptr, 0))
+ if (server.Init())
result = server.Run();
}
catch (const char* err) {