mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
Merge pull request #191 from AruMoon/tweak/unlock-tickrate
Unlock tickrate
This commit is contained in:
commit
cf467ff7c8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user