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)) if(!IsValidEntity(entity))
return; return;
/*
if(!strncmp(classname, "func_physbox", 12)) if(!strncmp(classname, "func_physbox", 12))
{ {
int iParent = GetEntPropEnt(entity, Prop_Data, "m_pParent"); AddEntityForLagCompensation(entity, false);
if(iParent != INVALID_ENT_REFERENCE)
{
AddEntityForLagCompensation(entity, false);
}
return; return;
} }
*/
if(!(StrEqual(classname, "trigger_hurt"))) if(!(StrEqual(classname, "trigger_hurt")))
return; return;