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:
Lioncash 2020-03-06 07:28:05 -05:00
parent c3809162bf
commit 00ff91eece
1 changed files with 3 additions and 2 deletions

View File

@ -107,9 +107,10 @@ void CEyeball::Think(float dt, CStateManager& mgr) {
x570_boneTracking.Update(dt);
GetModelData()->GetAnimationData()->PreRender();
x570_boneTracking.PreRender(mgr, *GetModelData()->GetAnimationData(), GetTransform(), GetModelData()->GetScale(),
*x450_bodyController.get());
} else
*x450_bodyController);
} else {
x570_boneTracking.SetActive(false);
}
if (GetActive()) {
CPlasmaProjectile* projectile = static_cast<CPlasmaProjectile*>(mgr.ObjectById(x5ec_projectileId));