mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix disablespeedajdust in SOCs being set like an integer value instead of a boolean
This commit is contained in:
parent
1e6ff01426
commit
e96a345fce
1 changed files with 1 additions and 1 deletions
|
|
@ -3044,7 +3044,7 @@ static void readmaincfg(MYFILE *f)
|
||||||
else if (fastcmp(word, "DISABLESPEEDADJUST"))
|
else if (fastcmp(word, "DISABLESPEEDADJUST"))
|
||||||
{
|
{
|
||||||
DEH_WriteUndoline(word, va("%d", disableSpeedAdjust), UNDO_NONE);
|
DEH_WriteUndoline(word, va("%d", disableSpeedAdjust), UNDO_NONE);
|
||||||
disableSpeedAdjust = (UINT8)get_number(word2);
|
disableSpeedAdjust = (value || word2[0] == 'T' || word2[0] == 'Y');
|
||||||
}
|
}
|
||||||
else if (fastcmp(word, "NUMDEMOS"))
|
else if (fastcmp(word, "NUMDEMOS"))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue