Browse Source

Unlock tickrate

pull/191/head
AruMoon 1 year ago
parent
commit
591534e7e4
  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