mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
Fix disablespeedajdust in SOCs being set like an integer value instead of a boolean
This commit is contained in:
parent
140152c2e7
commit
936b9ecebc
1 changed files with 1 additions and 1 deletions
|
@ -3044,7 +3044,7 @@ static void readmaincfg(MYFILE *f)
|
|||
else if (fastcmp(word, "DISABLESPEEDADJUST"))
|
||||
{
|
||||
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"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue