diff --git a/extension/extension.cpp b/extension/extension.cpp index 2eea390..8c4037d 100644 --- a/extension/extension.cpp +++ b/extension/extension.cpp @@ -50,9 +50,6 @@ ISDKTools *g_pSDKTools = NULL; class IClient; class CBaseServer; -//just grabbing clients name. -extern IVEngineServer *engine; - typedef enum EAuthProtocol { k_EAuthProtocolWONCertificate = 1, @@ -807,8 +804,6 @@ bool Connect::SDK_OnLoad(char *error, size_t maxlen, bool late) bool Connect::SDK_OnMetamodLoad(ISmmAPI *ismm, char *error, size_t maxlen, bool late) { GET_V_IFACE_CURRENT(GetEngineFactory, g_pCVar, ICvar, CVAR_INTERFACE_VERSION); - GET_V_IFACE_CURRENT(GetEngineFactory, engine, IVEngineServer, INTERFACEVERSION_VENGINESERVER); - ConVar_Register(0, this); return true;