From 3895f1c738b5e565ba376d9b607c126e595a1817 Mon Sep 17 00:00:00 2001 From: Silent Date: Tue, 29 May 2018 23:51:36 +0200 Subject: [PATCH] Don't animate Phoenix flaps when engine is off --- SilentPatchSA/VehicleSA.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SilentPatchSA/VehicleSA.cpp b/SilentPatchSA/VehicleSA.cpp index 9916c95..876bf23 100644 --- a/SilentPatchSA/VehicleSA.cpp +++ b/SilentPatchSA/VehicleSA.cpp @@ -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(ms_modelInfoPtrs[ modelID ]->pRwObject); if ( pOrigClump != nullptr )