diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-14 21:07:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-14 21:07:10 +0000 |
commit | a185c11f2397c0296a4b62cc266b4fa00a63c1e2 (patch) | |
tree | 186da4cdee2d9cd46fb2415567da1c441c7431ef /src/server/server.cc | |
parent | 599adb817e19d9be3502e501dc904c7255cd616c (diff) |
console, camera & interpolation
Diffstat (limited to 'src/server/server.cc')
-rw-r--r-- | src/server/server.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/server.cc b/src/server/server.cc index 1c95ee8..ee54352 100644 --- a/src/server/server.cc +++ b/src/server/server.cc @@ -33,6 +33,7 @@ public: virtual void quit(int status); }; + Server app; //--- public ------------------------------------------------------ @@ -60,7 +61,7 @@ void Server::init(int count, char **arguments) core::Cvar::sv_private = core::Cvar::set("sv_dedicated", "1", core::Cvar::ReadOnly); core::Application::init(count, arguments); - console::init(); + Console::init(); // the command line is in the buffer, execute it core::CommandBuffer::exec(); @@ -103,7 +104,7 @@ void Server::shutdown() con_debug << " bytes sent " << std::setw(6) << core::Stats::network_bytes_sent / 1024 << " Kb" << std::endl; con_debug << " bytes received " << std::setw(6) << core::Stats::network_bytes_received / 1024 << " Kb" << std::endl; - console::shutdown(); + Console::shutdown(); core::Application::shutdown(); |