Fixed regression in FindEntityByClassname from bug 4899 (bug 4941, r=predcrab).
This commit is contained in:
parent
c0fa36b9a1
commit
f1a4a08c7f
@ -650,6 +650,7 @@ static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *para
|
|||||||
gamehelpers->ReferenceToIndex(params[1]),
|
gamehelpers->ReferenceToIndex(params[1]),
|
||||||
params[1]);
|
params[1]);
|
||||||
}
|
}
|
||||||
|
pEntity = (CBaseEntity *)servertools->NextEntity(pEntity);
|
||||||
}
|
}
|
||||||
|
|
||||||
pContext->LocalToString(params[2], &searchname);
|
pContext->LocalToString(params[2], &searchname);
|
||||||
|
Loading…
Reference in New Issue
Block a user