From 983735a7fbf3bac666a04f99759b715062bd94c5 Mon Sep 17 00:00:00 2001 From: pinkimo Date: Mon, 23 Sep 2019 19:37:15 +0200 Subject: [PATCH] Fix --- Game Files/WMMT5.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Game Files/WMMT5.cpp b/Game Files/WMMT5.cpp index 764bf08..af1f034 100644 --- a/Game Files/WMMT5.cpp +++ b/Game Files/WMMT5.cpp @@ -66,8 +66,8 @@ void WMMT5::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers triggers->LeftRight(0, percentForce, percentLength); // triggers->Constant(constants->DIRECTION_FROM_LEFT, percentForce); - double percentForce2 = (1.0 * collisions) * CollisionsStrengthWMMT5 / 100.0; - triggers->Sine(100, 120, percentForce2); + percentForce = (1.0 * collisions) * CollisionsStrengthWMMT5 / 100.0; + triggers->Sine(100, 120, percentForce); } if (0 < tiresSlip) {