From bd7a67d0a4898c89a3fe79d71a7380f61ccef6bc Mon Sep 17 00:00:00 2001 From: Silent Date: Sat, 26 May 2018 14:43:02 +0200 Subject: [PATCH] Fix Phoenix blower not animating when reversing --- SilentPatchSA/VehicleSA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SilentPatchSA/VehicleSA.cpp b/SilentPatchSA/VehicleSA.cpp index 1de53c6..7e3b69e 100644 --- a/SilentPatchSA/VehicleSA.cpp +++ b/SilentPatchSA/VehicleSA.cpp @@ -544,7 +544,7 @@ void CAutomobile::ProcessPhoenixBlower( int32_t modelID ) } float finalAngle = 0.0f; - if ( m_fGasPedal > 0.0f ) + if ( std::abs(m_fGasPedal) > 0.0f ) { if ( m_fSpecialComponentAngle < 1.3f ) {