1
0
mirror of synced 2024-09-24 11:28:20 +02:00

Fix issue with wheel rumble going too long in Scud Race when select track

This commit is contained in:
Aaron M 2020-05-04 11:59:55 +12:00
parent 49316aa9ee
commit a52fdf55e1

View File

@ -512,6 +512,7 @@ static bool DontSineUntilRaceStart = false;
static bool HardDrivinFrame = false;
static bool Motion = false;
static bool MotionFalse = false;
static bool StartEffectOnce = false;
HINSTANCE hInstance;
HINSTANCE hPrevInstance;
@ -1948,8 +1949,19 @@ void OutputReading::FFBLoop(EffectConstants* constants, Helpers* helpers, Effect
if (stateFFB == 0x75)
{
Effect2 = true;
CreateThread(NULL, 0, ThreadForDaytonaStartEffect, NULL, 0, NULL);
if (!StartEffectOnce)
{
StartEffectOnce = true;
Effect2 = true;
CreateThread(NULL, 0, ThreadForDaytonaStartEffect, NULL, 0, NULL);
}
}
else
{
if (StartEffectOnce)
{
StartEffectOnce = false;
}
}
if (Effect2)