diff --git a/public/sample_ext/smsdk_config.h b/public/sample_ext/smsdk_config.h index 693afed9..e4b49d87 100644 --- a/public/sample_ext/smsdk_config.h +++ b/public/sample_ext/smsdk_config.h @@ -76,7 +76,6 @@ //#define SMEXT_ENABLE_TEXTPARSERS //#define SMEXT_ENABLE_USERMSGS //#define SMEXT_ENABLE_TRANSLATOR -//#define SMEXT_ENABLE_NINVOKE //#define SMEXT_ENABLE_ROOTCONSOLEMENU #endif // _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_ diff --git a/public/smsdk_ext.cpp b/public/smsdk_ext.cpp index 1a053d6d..ecb73889 100644 --- a/public/smsdk_ext.cpp +++ b/public/smsdk_ext.cpp @@ -97,9 +97,6 @@ IUserMessages *usermsgs = NULL; #if defined SMEXT_ENABLE_TRANSLATOR ITranslator *translator = NULL; #endif -#if defined SMEXT_ENABLE_NINVOKE -INativeInterface *ninvoke = NULL; -#endif #if defined SMEXT_ENABLE_ROOTCONSOLEMENU IRootConsole *rootconsole = NULL; #endif @@ -191,9 +188,6 @@ bool SDKExtension::OnExtensionLoad(IExtension *me, IShareSys *sys, char *error, #if defined SMEXT_ENABLE_TRANSLATOR SM_GET_IFACE(TRANSLATOR, translator); #endif -#if defined SMEXT_ENABLE_NINVOKE - SM_GET_IFACE(NINVOKE, ninvoke); -#endif #if defined SMEXT_ENABLE_ROOTCONSOLEMENU SM_GET_IFACE(ROOTCONSOLE, rootconsole); #endif diff --git a/public/smsdk_ext.h b/public/smsdk_ext.h index 87f8f8f7..922e2f2f 100644 --- a/public/smsdk_ext.h +++ b/public/smsdk_ext.h @@ -91,9 +91,6 @@ #if defined SMEXT_ENABLE_TRANSLATOR #include #endif -#if defined SMEXT_ENABLE_NINVOKE -#include -#endif #if defined SMEXT_ENABLE_ROOTCONSOLEMENU #include #endif @@ -310,9 +307,6 @@ extern IUserMessages *usermsgs; #if defined SMEXT_ENABLE_TRANSLATOR extern ITranslator *translator; #endif -#if defined SMEXT_ENABLE_NINVOKE -extern INativeInterface *ninvoke; -#endif #if defined SMEXT_ENABLE_ROOTCONSOLEMENU extern IRootConsole *rootconsole; #endif