Renaming local variables in HandleControl

This commit is contained in:
Sebastian Mischke 2026-01-08 00:26:20 +01:00
parent 695d1076c9
commit 1955b342ba

View File

@ -261,11 +261,11 @@ MxLong Helicopter::HandleControl(LegoControlManagerNotificationParam& p_param)
lookat *= 3.0f; lookat *= 3.0f;
location += lookat; location += lookat;
Mx3DPointFloat v68, va4, up; Mx3DPointFloat cameraUp, right, up;
Mx3DPointFloat v90(0, 1, 0); Mx3DPointFloat worldUp(0, 1, 0);
v68 = m_world->GetCameraController()->GetWorldUp(); cameraUp = m_world->GetCameraController()->GetWorldUp();
va4.EqualsCross(v68, direction); right.EqualsCross(cameraUp, direction);
up.EqualsCross(va4, v90); up.EqualsCross(right, worldUp);
if (isPizza) { if (isPizza) {
if (((Act3*) m_world)->ShootPizza(m_pathController, location, direction, up) != SUCCESS) { if (((Act3*) m_world)->ShootPizza(m_pathController, location, direction, up) != SUCCESS) {