diff options
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(); |