This commit is contained in:
Nicholas Hastings 2010-11-19 15:52:41 -05:00
commit 264e42a4c5
2 changed files with 1 additions and 14 deletions

View File

@ -441,11 +441,6 @@ public:
{
return iserver;
}
virtual IGameRules *GetGameRules()
{
return (IGameRules*)g_pGameRules;
}
} g_SDKTools_API;
static void InitSDKToolsAPI()

View File

@ -35,10 +35,9 @@
#include <IShareSys.h>
#define SMINTERFACE_SDKTOOLS_NAME "ISDKTools"
#define SMINTERFACE_SDKTOOLS_VERSION 2
#define SMINTERFACE_SDKTOOLS_VERSION 1
class IServer;
class IGameRules;
/**
* @brief SDKTools shared API
@ -62,13 +61,6 @@ namespace SourceMod
* @return IServer pointer, or NULL if SDKTools was unable to find one.
*/
virtual IServer* GetIServer() = 0;
/**
* @brief Returns a pointer to GameRules if one was found.
*
* @return GameRules pointer, or NULL if SDKTools was unable to find one.
*/
virtual IGameRules* GetGameRules() = 0;
};
}