Don't animate Phoenix flaps when engine is off

This commit is contained in:
Silent 2018-05-29 23:51:36 +02:00
parent 108c2740a7
commit 3895f1c738
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1

View File

@ -579,6 +579,7 @@ void CAutomobile::ResetFrames()
void CAutomobile::ProcessPhoenixBlower( int32_t modelID )
{
if ( m_pCarNode[20] == nullptr ) return;
if ( !m_nVehicleFlags.bEngineOn ) return;
RpClump* pOrigClump = reinterpret_cast<RpClump*>(ms_modelInfoPtrs[ modelID ]->pRwObject);
if ( pOrigClump != nullptr )