diff --git a/include/reclasses/C_BaseAnimating.hpp b/include/reclasses/C_BaseAnimating.hpp index 85ce97c8..591eeb69 100644 --- a/include/reclasses/C_BaseAnimating.hpp +++ b/include/reclasses/C_BaseAnimating.hpp @@ -17,6 +17,7 @@ public: static InvalidateBoneCache_t InvalidateBoneCache = InvalidateBoneCache_t(addr); InvalidateBoneCache(self); } + // Currently unused, might be useful in the near future though inline static bool Interpolate(IClientEntity *self, float time) { typedef bool (*fn_t)(IClientEntity *, float); diff --git a/src/entityhitboxcache.cpp b/src/entityhitboxcache.cpp index e1dd16fb..d1025445 100644 --- a/src/entityhitboxcache.cpp +++ b/src/entityhitboxcache.cpp @@ -129,12 +129,7 @@ matrix3x4_t *EntityHitboxCache::GetBones(int numbones) { // Reset game cache if (!bonecache_enabled && CE_GOOD(parent_ref)) - { re::C_BaseAnimating::InvalidateBoneCache(RAW_ENT(parent_ref)); - // Only use when nolerp is on as this breaks game visuals a tad - if (nolerp) - re::C_BaseAnimating::Interpolate(RAW_ENT(parent_ref), bones_setup_time); - } // If numbones is not set, get it from some terrible and unnamed variable if (numbones == -1)