Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/osiriond.cc')
-rw-r--r--src/osiriond.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/osiriond.cc b/src/osiriond.cc
index ea08f47..55bbbf5 100644
--- a/src/osiriond.cc
+++ b/src/osiriond.cc
@@ -1,13 +1,20 @@
/*
- server/main.cc
+ osiriond.cc
This file is part of the Osirion project and is distributed under
the terms and conditions of the GNU General Public License version 2
*/
#include "server/server.h"
+#include "game/game.h"
int main(int count, char **arguments)
{
+ // preload the game object
+ game::Game *game = new game::Game();
+
server::main(count, arguments);
+
+ game = 0; // prevents variable not used warning
+
return 0;
}