Remove dead code.
This commit is contained in:
parent
4f94b4f900
commit
cdfbdcc29d
@ -77,22 +77,6 @@ bool SetMTUMax(int iValue)
|
|||||||
|
|
||||||
void RulesFix::OnLoad()
|
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");
|
host_rules_show = g_pCVar->FindVar("host_rules_show");
|
||||||
if (host_rules_show)
|
if (host_rules_show)
|
||||||
{
|
{
|
||||||
|
@ -68,9 +68,7 @@
|
|||||||
#define SMEXT_ENABLE_GAMEHELPERS
|
#define SMEXT_ENABLE_GAMEHELPERS
|
||||||
#define SMEXT_ENABLE_TIMERSYS
|
#define SMEXT_ENABLE_TIMERSYS
|
||||||
//#define SMEXT_ENABLE_THREADER
|
//#define SMEXT_ENABLE_THREADER
|
||||||
#if SOURCE_ENGINE == SE_CSGO
|
//#define SMEXT_ENABLE_LIBSYS
|
||||||
#define SMEXT_ENABLE_LIBSYS
|
|
||||||
#endif
|
|
||||||
#define SMEXT_ENABLE_USERMSGS
|
#define SMEXT_ENABLE_USERMSGS
|
||||||
#define SMEXT_ENABLE_PLUGINSYS
|
#define SMEXT_ENABLE_PLUGINSYS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user