removed Handle:myself from OnPluginStart
added GetMyHandle to get handle now, but there's no use... --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40542
This commit is contained in:
@@ -92,6 +92,11 @@ void CPlugin::InitIdentity()
|
||||
}
|
||||
}
|
||||
|
||||
Handle_t CPlugin::GetMyHandle()
|
||||
{
|
||||
return m_handle;
|
||||
}
|
||||
|
||||
CPlugin *CPlugin::CreatePlugin(const char *file, char *error, size_t maxlength)
|
||||
{
|
||||
char fullpath[PLATFORM_MAX_PATH+1];
|
||||
@@ -280,7 +285,6 @@ void CPlugin::Call_OnPluginStart()
|
||||
return;
|
||||
}
|
||||
|
||||
pFunction->PushCell(m_handle);
|
||||
pFunction->Execute(&result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user