diff --git a/public/CRayTraceInterface.h b/public/CRayTraceInterface.h index 60cae2d..9f3f16c 100644 --- a/public/CRayTraceInterface.h +++ b/public/CRayTraceInterface.h @@ -134,27 +134,6 @@ static_assert( "MASK_SHOT_PHYSICS mismatch!" ); -constexpr InteractionLayers RemovePlayers(InteractionLayers m) -{ - return static_cast( - static_cast(m) & - ~static_cast(InteractionLayers::Player) - ); -} - -constexpr InteractionLayers BuildShotMask(bool includePlayers, bool includeHitboxes) -{ - InteractionLayers m = MASK_SHOT_PHYSICS; - - if (!includePlayers) - m = RemovePlayers(m); - - if (includeHitboxes) - m |= InteractionLayers::Hitboxes; - - return m; -} - struct TraceOptions { uint64_t InteractsWith = static_cast(MASK_SHOT_PHYSICS); diff --git a/vendor/khook b/vendor/khook index 09d46ff..f6785fd 160000 --- a/vendor/khook +++ b/vendor/khook @@ -1 +1 @@ -Subproject commit 09d46ffb743f5659b3d497228843a8aa7fcf883f +Subproject commit f6785fd70869972841d9bc0a87013355eb9ce7e1