diff --git a/Runtime/Camera/CCameraManager.cpp b/Runtime/Camera/CCameraManager.cpp index b73158140..a2fd101e7 100644 --- a/Runtime/Camera/CCameraManager.cpp +++ b/Runtime/Camera/CCameraManager.cpp @@ -398,8 +398,7 @@ void CCameraManager::UpdateCameraHints(float, CStateManager& mgr) { } } else { if (const TCastToConstPtr act = mgr.GetObjectById(bestHint->GetFirstHelper())) { - zeus::CVector3f ballPos = mgr.GetPlayer().GetBallPosition(); - zeus::CVector3f f26 = act->GetTranslation() - ballPos; + const zeus::CVector3f f26 = act->GetTranslation() - mgr.GetPlayer().GetBallPosition(); zeus::CVector3f ballToHelper = f26; if (ballToHelper.canBeNormalized()) { ballToHelper.normalize();