Browse Source

Merge pull request #191 from AruMoon/tweak/unlock-tickrate

Unlock tickrate
pull/192/head
nillerusr 2 years ago committed by GitHub
parent
commit
cf467ff7c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      game/server/gameinterface.cpp

10
game/server/gameinterface.cpp

@ -827,15 +827,6 @@ float CServerGameDLL::GetTickInterval( void ) const @@ -827,15 +827,6 @@ float CServerGameDLL::GetTickInterval( void ) const
{
float tickinterval = DEFAULT_TICK_INTERVAL;
//=============================================================================
// HPE_BEGIN:
// [Forrest] For Counter-Strike, set default tick rate of 66 and removed -tickrate command line parameter.
//=============================================================================
// Ignoring this for now, server ops are abusing it
#if !defined( TF_DLL ) && !defined( CSTRIKE_DLL ) && !defined( DOD_DLL )
//=============================================================================
// HPE_END
//=============================================================================
// override if tick rate specified in command line
if ( CommandLine()->CheckParm( "-tickrate" ) )
{
@ -843,7 +834,6 @@ float CServerGameDLL::GetTickInterval( void ) const @@ -843,7 +834,6 @@ float CServerGameDLL::GetTickInterval( void ) const
if ( tickrate > 10 )
tickinterval = 1.0f / tickrate;
}
#endif
return tickinterval;
}

Loading…
Cancel
Save