Set the fallback threshold for tyre slip effects to zero

This commit is contained in:
Paul Dino Jones 2024-07-13 09:40:27 -04:00
parent f3e7674aa7
commit 4f8870427f
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ int devsetup(const char* device_type, const char* device_subtype, const char* co
if (ds->effect_type == EFFECT_TYRESLIP || ds->effect_type == EFFECT_TYRELOCK || ds->effect_type == EFFECT_ABSBRAKES)
{
gettyre(device_settings, ds);
ds->threshold = .75;
ds->threshold = 0;
int found = config_setting_lookup_float(device_settings, "threshold", &ds->threshold);
}