From fb637ff5f15498f9f483ae491930b0653938bc10 Mon Sep 17 00:00:00 2001 From: BotoX Date: Tue, 8 Oct 2019 18:39:31 +0200 Subject: [PATCH] update --- LagCompensation/scripting/LagCompensation.sp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/LagCompensation/scripting/LagCompensation.sp b/LagCompensation/scripting/LagCompensation.sp index d8d27e4..d25f58d 100644 --- a/LagCompensation/scripting/LagCompensation.sp +++ b/LagCompensation/scripting/LagCompensation.sp @@ -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;