Use internal sp::Environment directly in core/logic.
Also remove ISourcePawnEngine and ISourcePawnEngine2 pointers since they're now redundant.
This commit is contained in:
@@ -75,7 +75,7 @@ size_t Translate(char *buffer,
|
||||
unsigned int langid;
|
||||
*error = false;
|
||||
Translation pTrans;
|
||||
IPlugin *pl = scripts->FindPluginByContext(pCtx->GetContext());
|
||||
IPlugin *pl = scripts->FindPluginByContext(pCtx);
|
||||
unsigned int max_params = 0;
|
||||
IPhraseCollection *pPhrases;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user