mirror of https://github.com/AxioDL/metaforce.git
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:
parent
556f870dc8
commit
a862b792de
|
@ -98,7 +98,7 @@ void CBoneTracking::PreRender(const CStateManager& mgr, CAnimData& animData, con
|
|||
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; }
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ public:
|
|||
const zeus::CVector3f& vec, const CBodyController& bodyController);
|
||||
void PreRender(const CStateManager& mgr, CAnimData& animData, const zeus::CTransform& worldXf,
|
||||
const zeus::CVector3f& localOffsetScale, bool tracking);
|
||||
void SetActive(bool b);
|
||||
void SetActive(bool active);
|
||||
void SetTarget(TUniqueId id);
|
||||
void UnsetTarget();
|
||||
void SetTargetPosition(const zeus::CVector3f& pos);
|
||||
|
|
Loading…
Reference in New Issue