LagCompensation: fix super dumb mistake

This commit is contained in:
BotoX 2019-11-01 19:51:18 +01:00
parent a0fe931c79
commit f0d3ba3296

View File

@ -716,7 +716,7 @@ public void OnEntitySpawned(int entity, const char[] classname)
GetEntityClassname(iParent, sParentClassname, sizeof(sParentClassname));
if(StrEqual(sParentClassname, "player") ||
strncmp(sParentClassname, "weapon_", 7))
!strncmp(sParentClassname, "weapon_", 7))
{
return;
}