diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-18 17:52:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-18 17:52:15 +0000 |
commit | 0b8582a9aa825024edbd0a21c6287bfcccec28de (patch) | |
tree | 2d9a46c60b028300b1b9133b84764b6c39964c33 /src/osirion.cc | |
parent | 982562fa19bb87a3dab352e562f386f61c171b7b (diff) |
core redesign, part II
Diffstat (limited to 'src/osirion.cc')
-rw-r--r-- | src/osirion.cc | 7 |
1 files changed, 4 insertions, 3 deletions
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; } |