From a185c11f2397c0296a4b62cc266b4fa00a63c1e2 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 14 May 2008 21:07:10 +0000 Subject: console, camera & interpolation --- src/server/server.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/server/server.cc') 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(); -- cgit v1.2.3