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: