Use internal sp::Environment directly in core/logic.
Also remove ISourcePawnEngine and ISourcePawnEngine2 pointers since they're now redundant.
This commit is contained in:
@@ -82,7 +82,7 @@ void ConCmdManager::OnUnlinkConCommandBase(ConCommandBase *pBase, const char *na
|
||||
CmdHook *hook = *iter;
|
||||
|
||||
IPluginContext *pContext = hook->pf->GetParentContext();
|
||||
IPlugin *pPlugin = scripts->FindPluginByContext(pContext->GetContext());
|
||||
IPlugin *pPlugin = scripts->FindPluginByContext(pContext);
|
||||
|
||||
// The list is guaranteed to exist.
|
||||
PluginHookList *list;
|
||||
|
||||
Reference in New Issue
Block a user