[Fix] Set ship gear flag properly so we don't see the wheels now when the gears are up and flaps closed.

This commit is contained in:
Rtch90 2017-11-14 20:27:40 +00:00
parent 1e48dbafe5
commit 6c1b4e5dfd

View File

@ -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));