Compare commits

...

1 Commits

Author SHA1 Message Date
BotoX
7fb35c5f6a fix rare crash bug in SDKTools GetGameRulesProxyEnt 2019-09-10 20:46:55 +02:00

View File

@ -53,6 +53,10 @@ static CBaseEntity *FindEntityByNetClass(int start, const char *classname)
if (network == NULL)
continue;
IHandleEntity *pHandleEnt = network->GetEntityHandle();
if (pHandleEnt == NULL)
continue;
ServerClass *sClass = network->GetServerClass();
const char *name = sClass->GetName();