This is an automated email from the git hooks/post-receive script. smcv pushed a commit to annotated tag 1.5a in repository iortcw.
commit 6ece3a59c3b05a50b777afe460bc4641f98d9e6c Author: MAN-AT-ARMS <m4n4t4...@gmail.com> Date: Sun Sep 25 06:09:11 2016 -0400 MP: Remove sv_levelTimeReset --- MP/code/server/sv_init.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/MP/code/server/sv_init.c b/MP/code/server/sv_init.c index 8ebea9a..2f075bb 100644 --- a/MP/code/server/sv_init.c +++ b/MP/code/server/sv_init.c @@ -442,9 +442,7 @@ void SV_SetExpectedHunkUsage( char *mapname ) { SV_ClearServer ================ */ -static cvar_t *sv_levelTimeReset; - -static void SV_ClearServer( void ) { +static void SV_ClearServer(void) { int i; for ( i = 0 ; i < MAX_CONFIGSTRINGS ; i++ ) { @@ -452,14 +450,7 @@ static void SV_ClearServer( void ) { Z_Free( sv.configstrings[i] ); } } - - if ( !sv_levelTimeReset->integer ) { - i = sv.time; - Com_Memset( &sv, 0, sizeof( sv ) ); - sv.time = i; - } else { - Com_Memset( &sv, 0, sizeof( sv ) ); - } + Com_Memset (&sv, 0, sizeof(sv)); } /* @@ -926,8 +917,6 @@ void SV_Init( void ) { sv_banFile = Cvar_Get("sv_banFile", "serverbans.dat", CVAR_ARCHIVE); - sv_levelTimeReset = Cvar_Get( "sv_levelTimeReset", "0", CVAR_ARCHIVE ); - sv_onlyVisibleClients = Cvar_Get( "sv_onlyVisibleClients", "0", 0 ); // DHM - Nerve sv_forceNameUniq = Cvar_Get( "sv_forceNameUniq", "0", CVAR_ARCHIVE ); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits