Remove dead code.

This commit is contained in:
Nick Hastings 2021-12-13 09:56:44 -05:00
parent b62f332611
commit 93cd78a6c5
2 changed files with 1 additions and 19 deletions

View File

@ -77,22 +77,6 @@ bool SetMTUMax(int iValue)
void RulesFix::OnLoad()
{
ILibrary *pLibrary = libsys->OpenLibrary(
#if defined ( PLATFORM_WINDOWS )
"steam_api.dll"
#elif defined( PLATFORM_LINUX )
"libsteam_api.so"
#elif defined( PLATFORM_APPLE )
"libsteam_api.dylib"
#else
#error Unsupported platform
#endif
, nullptr, 0);
if (pLibrary != nullptr)
{
pLibrary->CloseLibrary();
}
host_rules_show = g_pCVar->FindVar("host_rules_show");
if (host_rules_show)
{

View File

@ -68,9 +68,7 @@
#define SMEXT_ENABLE_GAMEHELPERS
#define SMEXT_ENABLE_TIMERSYS
//#define SMEXT_ENABLE_THREADER
#if SOURCE_ENGINE == SE_CSGO
#define SMEXT_ENABLE_LIBSYS
#endif
//#define SMEXT_ENABLE_LIBSYS
#define SMEXT_ENABLE_USERMSGS
#define SMEXT_ENABLE_PLUGINSYS