This commit is contained in:
BotoX 2019-10-08 18:39:31 +02:00
parent 40cfdc5bbf
commit fb637ff5f1

View File

@ -627,18 +627,13 @@ public void OnEntitySpawned(int entity, const char[] classname)
if(!IsValidEntity(entity))
return;
/*
if(!strncmp(classname, "func_physbox", 12))
{
int iParent = GetEntPropEnt(entity, Prop_Data, "m_pParent");
if(iParent != INVALID_ENT_REFERENCE)
{
AddEntityForLagCompensation(entity, false);
}
AddEntityForLagCompensation(entity, false);
return;
}
*/
if(!(StrEqual(classname, "trigger_hurt")))
return;