From 17e83387f11410d990685f8604c7499751f2b29b Mon Sep 17 00:00:00 2001 From: Allanis Date: Tue, 14 Nov 2017 20:27:40 +0000 Subject: [PATCH] [Fix] Set ship gear flag properly so we don't see the wheels now when the gears are up and flaps closed. --- src/ship.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ship.cpp b/src/ship.cpp index c1ee5a2..b4ae744 100644 --- a/src/ship.cpp +++ b/src/ship.cpp @@ -181,6 +181,7 @@ void Ship::Render(const Frame* camFrame) { params.pAnim[ASRC_HOURFRAC] = L3D::GetGameTime() / 3600.0f; params.pAnim[ASRC_DAYFRAC] = L3D::GetGameTime() / (24*3600.0f); params.pAnim[ASRC_GEAR] = m_wheelState; + params.pFlag[AFLAG_GEAR] = m_wheelState != 0.0f; strncpy(params.pText[0], GetLabel().c_str(), sizeof(params.pText));