Fixed regression in FindEntityByClassname from bug 4899 (bug 4941, r=predcrab).

This commit is contained in:
John Schoenick 2011-06-01 20:36:16 -04:00
parent c0fa36b9a1
commit f1a4a08c7f

View File

@ -650,6 +650,7 @@ static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *para
gamehelpers->ReferenceToIndex(params[1]),
params[1]);
}
pEntity = (CBaseEntity *)servertools->NextEntity(pEntity);
}
pContext->LocalToString(params[2], &searchname);