mirror of https://github.com/AxioDL/metaforce.git
CEyeball: Remove unnecessary .get() call
Dereferencing is already supported on smart pointers, so we don't need to call .get() here.
This commit is contained in:
parent
c3809162bf
commit
00ff91eece
|
@ -107,9 +107,10 @@ void CEyeball::Think(float dt, CStateManager& mgr) {
|
||||||
x570_boneTracking.Update(dt);
|
x570_boneTracking.Update(dt);
|
||||||
GetModelData()->GetAnimationData()->PreRender();
|
GetModelData()->GetAnimationData()->PreRender();
|
||||||
x570_boneTracking.PreRender(mgr, *GetModelData()->GetAnimationData(), GetTransform(), GetModelData()->GetScale(),
|
x570_boneTracking.PreRender(mgr, *GetModelData()->GetAnimationData(), GetTransform(), GetModelData()->GetScale(),
|
||||||
*x450_bodyController.get());
|
*x450_bodyController);
|
||||||
} else
|
} else {
|
||||||
x570_boneTracking.SetActive(false);
|
x570_boneTracking.SetActive(false);
|
||||||
|
}
|
||||||
|
|
||||||
if (GetActive()) {
|
if (GetActive()) {
|
||||||
CPlasmaProjectile* projectile = static_cast<CPlasmaProjectile*>(mgr.ObjectById(x5ec_projectileId));
|
CPlasmaProjectile* projectile = static_cast<CPlasmaProjectile*>(mgr.ObjectById(x5ec_projectileId));
|
||||||
|
|
Loading…
Reference in New Issue