Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Fixed issue with landing zones being messed up
Browse files Browse the repository at this point in the history
  • Loading branch information
Causeless committed Nov 8, 2023
1 parent 8d69cd6 commit 44f8056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Activities/GameActivity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,7 @@ void GameActivity::Update()
viewOffset *= -1;
}

m_LandingZone[player].m_Y = prevHeight + ((g_SceneMan.FindAltitude(m_LandingZone[player], g_SceneMan.GetSceneHeight(), 10) - prevHeight, true) * 0.2);
m_LandingZone[player].m_Y = prevHeight + ((g_SceneMan.FindAltitude(m_LandingZone[player], g_SceneMan.GetSceneHeight(), 10, true) - prevHeight) * 0.2);

// Set the view to a little above the LZ position
Vector viewTarget(m_LandingZone[player].m_X, m_LandingZone[player].m_Y - viewOffset);
Expand Down

0 comments on commit 44f8056

Please sign in to comment.