From 75c6db097b990e58b4b2585580a89561c838d923 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 26 Oct 2010 21:08:12 +0000 Subject: updated network protocol version to 20, implemented invemtory depletion, unified depletion with keepalive --- src/core/application.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/application.cc') diff --git a/src/core/application.cc b/src/core/application.cc index 1d7ded2..f21dcad 100644 --- a/src/core/application.cc +++ b/src/core/application.cc @@ -110,9 +110,6 @@ void Application::init(int count, char **arguments) Cvar::sv_private = Cvar::get("sv_private", "0"); Cvar::sv_private->set_info("[bool] enable or disable network server for a client"); - Cvar::cl_prediction = Cvar::get("cl_prediction", "0", Cvar::Archive); - Cvar::cl_prediction->set_info("[bool] enable or disable client prediction"); - // load configuration load_config(); load_autoexec(); @@ -133,10 +130,13 @@ void Application::init(int count, char **arguments) Cvar::sv_password = Cvar::get("sv_password", "", Cvar::Archive); Cvar::sv_password->set_info("[string] server rcon password"); + + Cvar::sv_keepalive = Cvar::get("sv_keepalive", "120", core::Cvar::Archive); + Cvar::sv_keepalive->set_info("[int] number of seconds to keep dynamic objects alive"); // network settings Cvar::net_host = Cvar::get("net_host", "0.0.0.0", Cvar::Archive); - Cvar::net_host->set_info("[ip] IP address the network server binds to"); + Cvar::net_host->set_info("[address] IP address the network server binds to"); Cvar::net_port = Cvar::get("net_port", "8042", Cvar::Archive); Cvar::net_port->set_info("[int] default network port"); -- cgit v1.2.3