Remove dead code.

This commit is contained in:
Nick Hastings
2023-08-30 22:08:45 +02:00
committed by Your Name
parent 4f94b4f900
commit cdfbdcc29d
2 changed files with 1 additions and 19 deletions
-16
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)
{
+1 -3
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