diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-09 17:48:16 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-09 17:48:16 +0000 |
commit | 48aa068b036f565d6b94d4207242066ba655afe4 (patch) | |
tree | 4b68cf169c7fcd4bc6f2eecc7c072830d91830f8 /src/client/client.cc | |
parent | 23aee34002facf39b56d209320817375db3b6189 (diff) |
entities, step 1
Diffstat (limited to 'src/client/client.cc')
-rw-r--r-- | src/client/client.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/client.cc b/src/client/client.cc index 8970dea..faf9ac3 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -46,7 +46,7 @@ Client app; //--- engine functions -------------------------------------------- -extern "C" void func_r_restart(std::stringstream &args) +void func_r_restart(std::stringstream &args) { video::shutdown(); console::flush(); @@ -83,7 +83,9 @@ void Client::quit(int status) void Client::init() { con_print << "Initializing client..." << std::endl; + // initialize core + core::localstate.name = "Client"; core::Application::init(); // initialize SDL, but do not initialize any subsystems |