Skip to content

Commit cf467ff

Browse files
authored
Merge pull request #191 from AruMoon/tweak/unlock-tickrate
Unlock tickrate
2 parents 6428e90 + 591534e commit cf467ff

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

game/server/gameinterface.cpp

-10
Original file line numberDiff line numberDiff line change
@@ -827,23 +827,13 @@ float CServerGameDLL::GetTickInterval( void ) const
827827
{
828828
float tickinterval = DEFAULT_TICK_INTERVAL;
829829

830-
//=============================================================================
831-
// HPE_BEGIN:
832-
// [Forrest] For Counter-Strike, set default tick rate of 66 and removed -tickrate command line parameter.
833-
//=============================================================================
834-
// Ignoring this for now, server ops are abusing it
835-
#if !defined( TF_DLL ) && !defined( CSTRIKE_DLL ) && !defined( DOD_DLL )
836-
//=============================================================================
837-
// HPE_END
838-
//=============================================================================
839830
// override if tick rate specified in command line
840831
if ( CommandLine()->CheckParm( "-tickrate" ) )
841832
{
842833
float tickrate = CommandLine()->ParmValue( "-tickrate", 0 );
843834
if ( tickrate > 10 )
844835
tickinterval = 1.0f / tickrate;
845836
}
846-
#endif
847837

848838
return tickinterval;
849839
}

0 commit comments

Comments
 (0)