CBoneTracking: Make use of parameter in SetActive()

GM8E v0 makes use of the parameter and doesn't always set the value to
true.
This commit is contained in:
Lioncash 2020-03-25 02:09:48 -04:00
parent 556f870dc8
commit a862b792de
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ void CBoneTracking::PreRender(const CStateManager& mgr, CAnimData& animData, con
x18_time = 0.f; x18_time = 0.f;
} }
void CBoneTracking::SetActive(bool) { x36_24_active = true; } void CBoneTracking::SetActive(bool active) { x36_24_active = active; }
void CBoneTracking::SetTarget(TUniqueId target) { x34_target = target; } void CBoneTracking::SetTarget(TUniqueId target) { x34_target = target; }

View File

@ -53,7 +53,7 @@ public:
const zeus::CVector3f& vec, const CBodyController& bodyController); const zeus::CVector3f& vec, const CBodyController& bodyController);
void PreRender(const CStateManager& mgr, CAnimData& animData, const zeus::CTransform& worldXf, void PreRender(const CStateManager& mgr, CAnimData& animData, const zeus::CTransform& worldXf,
const zeus::CVector3f& localOffsetScale, bool tracking); const zeus::CVector3f& localOffsetScale, bool tracking);
void SetActive(bool b); void SetActive(bool active);
void SetTarget(TUniqueId id); void SetTarget(TUniqueId id);
void UnsetTarget(); void UnsetTarget();
void SetTargetPosition(const zeus::CVector3f& pos); void SetTargetPosition(const zeus::CVector3f& pos);