update
This commit is contained in:
parent
40cfdc5bbf
commit
fb637ff5f1
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user