From 5499f9e2e9e09b948206e59870b00fb032917040 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 ca419e9..042536c 100644 --- a/SilentPatchSA/VehicleSA.cpp +++ b/SilentPatchSA/VehicleSA.cpp @@ -528,7 +528,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 ) {