core/systems/PluginSys.cpp
changeset 900 b38c83f9d526
parent 868 bdbf922e246f
child 978 54782a83a1ef
     1.1 --- a/core/systems/PluginSys.cpp	Thu Jun 07 02:26:06 2007 +0000
     1.2 +++ b/core/systems/PluginSys.cpp	Thu Jun 07 02:36:54 2007 +0000
     1.3 @@ -1961,3 +1961,13 @@
     1.4  		}
     1.5  	}
     1.6  }
     1.7 +
     1.8 +CPlugin *CPluginManager::GetPluginFromIdentity(IdentityToken_t *pToken)
     1.9 +{
    1.10 +	if (pToken->type != g_PluginIdent)
    1.11 +	{
    1.12 +		return NULL;
    1.13 +	}
    1.14 +
    1.15 +	return (CPlugin *)(pToken->ptr);
    1.16 +}