From 0b8582a9aa825024edbd0a21c6287bfcccec28de Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 18 Feb 2008 17:52:15 +0000 Subject: core redesign, part II --- src/osirion.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/osirion.cc') diff --git a/src/osirion.cc b/src/osirion.cc index 696104f..6fa2eb3 100644 --- a/src/osirion.cc +++ b/src/osirion.cc @@ -9,12 +9,13 @@ int main(int count, char **arguments) { - // preload the game object - game::Game *game = new game::Game(); + // preload the game module + core::Module::load(new game::Game()); client::main(count, arguments); - game = 0; // prevents variable not used warning + // unload the game module + core::Module::unload(); return 0; } -- cgit v1.2.3