From 1f95c377b2abfaa454b1f2298af10956d95ad941 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 13 Feb 2008 00:40:59 +0000 Subject: split client from game module --- src/osiriond.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/osiriond.cc') 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; } -- cgit v1.2.3