mirror of https://github.com/AxioDL/metaforce.git
Decomp fix for CTargetableProjectile::ResolveCollisionWithActor
This commit is contained in:
parent
82e6b04ced
commit
51eb95e499
|
@ -57,7 +57,9 @@ bool CTargetableProjectile::Explode(const zeus::CVector3f& pos, const zeus::CVec
|
||||||
}
|
}
|
||||||
|
|
||||||
void CTargetableProjectile::ResolveCollisionWithActor(const CRayCastResult& res, CActor& act, CStateManager& mgr) {
|
void CTargetableProjectile::ResolveCollisionWithActor(const CRayCastResult& res, CActor& act, CStateManager& mgr) {
|
||||||
SetTransform(zeus::lookAt(GetTranslation(), GetAimPosition(mgr, 0.1f)));
|
zeus::CTransform xf = zeus::lookAt(GetTranslation(), GetAimPosition(mgr, 0.1f));
|
||||||
|
xf.origin = GetTranslation();
|
||||||
|
SetTransform(xf);
|
||||||
CEnergyProjectile::ResolveCollisionWithActor(res, act, mgr);
|
CEnergyProjectile::ResolveCollisionWithActor(res, act, mgr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue