From a71698aa82de50f96f8a55fecd1cd3ec78f3eb96 Mon Sep 17 00:00:00 2001 From: Aaron M Date: Fri, 25 Oct 2019 17:19:37 +1300 Subject: [PATCH] fixed LGI & LGI3D to rumble always --- Game Files/LGI.cpp | 12 ++++++------ Game Files/LGI3D.cpp | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Game Files/LGI.cpp b/Game Files/LGI.cpp index f9c5784..2d73bce 100644 --- a/Game Files/LGI.cpp +++ b/Game Files/LGI.cpp @@ -113,7 +113,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers* triggers->LeftRight(percentForce, 0, percentLength); } } - else if ((oldFloat2 != newFloat2) && (health2p != 0x1)) + if ((oldFloat2 != newFloat2) && (health2p != 0x1)) { if (HowtoRumbleHealthEffect == 0) { @@ -155,7 +155,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers* triggers->LeftRight(percentForce, 0, percentLength); } } - else if (ff1 == 0x40) + if (ff1 == 0x40) { if (HowtoRumbleMotorEffect == 0) { @@ -176,7 +176,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers* triggers->LeftRight(percentForce, 0, percentLength); } } - else if (ff1 == 0x4) + if (ff1 == 0x4) { if (HowtoRumbleKnockEffect == 0) { @@ -197,7 +197,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers* triggers->LeftRightDevice2(percentForce, 0, percentLength); } } - else if (ff1 == 0x8) + if (ff1 == 0x8) { if (HowtoRumbleMotorEffect == 0) { @@ -218,7 +218,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers* triggers->LeftRightDevice2(percentForce, 0, percentLength); } } - else if (ff1 == 0x24) + if (ff1 == 0x24) { if (HowtoRumbleKnockEffect == 0) { @@ -242,7 +242,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers* triggers->LeftRightDevice2(percentForce, 0, percentLength); } } - else if (ff1 == 0x48) + if (ff1 == 0x48) { if (HowtoRumbleMotorEffect == 0) { diff --git a/Game Files/LGI3D.cpp b/Game Files/LGI3D.cpp index 5bfa606..5792c9e 100644 --- a/Game Files/LGI3D.cpp +++ b/Game Files/LGI3D.cpp @@ -114,7 +114,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers triggers->LeftRight(percentForce, 0, percentLength); } } - else if ((oldFloat2 != newFloat2) && (health2p != 0x1)) + if ((oldFloat2 != newFloat2) && (health2p != 0x1)) { if (HowtoRumbleHealthEffect == 0) { @@ -156,7 +156,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers triggers->LeftRight(percentForce, 0, percentLength); } } - else if (ff1 == 0x40) + if (ff1 == 0x40) { if (HowtoRumbleMotorEffect == 0) { @@ -177,7 +177,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers triggers->LeftRight(percentForce, 0, percentLength); } } - else if (ff1 == 0x22) + if (ff1 == 0x22) { if (HowtoRumbleKnockEffect == 0) { @@ -198,7 +198,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers triggers->LeftRight(percentForce, 0, percentLength); } } - else if (ff1 == 0x42) + if (ff1 == 0x42) { if (HowtoRumbleMotorEffect == 0) { @@ -219,7 +219,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers triggers->LeftRight(percentForce, 0, percentLength); } } - else if (ff1 == 0x4) + if (ff1 == 0x4) { if (HowtoRumbleKnockEffect == 0) { @@ -240,7 +240,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers triggers->LeftRightDevice2(percentForce, 0, percentLength); } } - else if (ff1 == 0x8) + if (ff1 == 0x8) { if (HowtoRumbleMotorEffect == 0) { @@ -261,7 +261,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers triggers->LeftRightDevice2(percentForce, 0, percentLength); } } - else if (ff1 == 0x6) + if (ff1 == 0x6) { if (HowtoRumbleKnockEffect == 0) { @@ -282,7 +282,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers triggers->LeftRightDevice2(percentForce, 0, percentLength); } } - else if (ff1 == 0xA) + if (ff1 == 0xA) { if (HowtoRumbleMotorEffect == 0) { @@ -303,7 +303,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers triggers->LeftRightDevice2(percentForce, 0, percentLength); } } - else if (ff1 == 0x24) + if (ff1 == 0x24) { if (HowtoRumbleKnockEffect == 0) { @@ -327,7 +327,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers triggers->LeftRightDevice2(percentForce, 0, percentLength); } } - else if (ff1 == 0x4A) + if (ff1 == 0x4A) { if (HowtoRumbleMotorEffect == 0) {