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

Unlock tickrate
This commit is contained in:
nillerusr 2023-02-06 15:36:20 +03:00 committed by GitHub
commit cf467ff7c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
if ( tickrate > 10 )
tickinterval = 1.0f / tickrate;
}
#endif
return tickinterval;
}