From 448d676007b5a5fca23e3440f20ffd6c48f28c7c Mon Sep 17 00:00:00 2001 From: LightCat Date: Tue, 21 Aug 2018 14:21:27 +0200 Subject: [PATCH] why would this not ignore players --- src/trace.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/trace.cpp b/src/trace.cpp index f54885eb..4dce6d1f 100755 --- a/src/trace.cpp +++ b/src/trace.cpp @@ -1,4 +1,4 @@ -/* +fixi/* * trace.cpp * * Created on: Oct 10, 2016 @@ -42,6 +42,8 @@ bool trace::FilterDefault::ShouldHitEntity(IHandleEntity *handle, int mask) switch (clazz->m_ClassID) { // TODO magic numbers: invisible entity ids + case 246: + case 248: case 64: case 225: case 55: @@ -79,7 +81,6 @@ void trace::FilterNoPlayer::SetSelf(IClientEntity *self) bool trace::FilterNoPlayer::ShouldHitEntity(IHandleEntity *handle, int mask) { - return false; IClientEntity *entity; ClientClass *clazz; @@ -91,6 +92,7 @@ bool trace::FilterNoPlayer::ShouldHitEntity(IHandleEntity *handle, int mask) switch (clazz->m_ClassID) { // TODO magic numbers: invisible entity ids + case case 64: case 225: case 55: