Fixed regression in FindEntityByClassname from bug 4899 (bug 4941, r=predcrab).
Fixed regression in FindEntityByClassname from
bug 4899 (
bug 4941, r=predcrab).
1.1 --- a/extensions/sdktools/vnatives.cpp Wed May 25 21:10:18 2011 -0400
1.2 +++ b/extensions/sdktools/vnatives.cpp Wed Jun 01 20:36:16 2011 -0400
1.3 @@ -650,6 +650,7 @@
1.4 gamehelpers->ReferenceToIndex(params[1]),
1.5 params[1]);
1.6 }
1.7 + pEntity = (CBaseEntity *)servertools->NextEntity(pEntity);
1.8 }
1.9
1.10 pContext->LocalToString(params[2], &searchname);