mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
remove these unnecessary typedefs for assignments to variables that are actually already boolean to begin with, since the rhs resolves to a boolean anyway
This commit is contained in:
parent
e96a345fce
commit
06e2da214e
1 changed files with 2 additions and 2 deletions
|
|
@ -2952,7 +2952,7 @@ static void readmaincfg(MYFILE *f)
|
||||||
else if (fastcmp(word, "USENIGHTSSS"))
|
else if (fastcmp(word, "USENIGHTSSS"))
|
||||||
{
|
{
|
||||||
DEH_WriteUndoline(word, va("%d", useNightsSS), UNDO_NONE);
|
DEH_WriteUndoline(word, va("%d", useNightsSS), UNDO_NONE);
|
||||||
useNightsSS = (UINT8)(value || word2[0] == 'T' || word2[0] == 'Y');
|
useNightsSS = (value || word2[0] == 'T' || word2[0] == 'Y');
|
||||||
}
|
}
|
||||||
else if (fastcmp(word, "REDTEAM"))
|
else if (fastcmp(word, "REDTEAM"))
|
||||||
{
|
{
|
||||||
|
|
@ -3026,7 +3026,7 @@ static void readmaincfg(MYFILE *f)
|
||||||
else if (fastcmp(word, "LOOPTITLE"))
|
else if (fastcmp(word, "LOOPTITLE"))
|
||||||
{
|
{
|
||||||
DEH_WriteUndoline(word, va("%d", looptitle), UNDO_NONE);
|
DEH_WriteUndoline(word, va("%d", looptitle), UNDO_NONE);
|
||||||
looptitle = (boolean)(value || word2[0] == 'T' || word2[0] == 'Y');
|
looptitle = (value || word2[0] == 'T' || word2[0] == 'Y');
|
||||||
}
|
}
|
||||||
else if (fastcmp(word, "TITLESCROLLSPEED"))
|
else if (fastcmp(word, "TITLESCROLLSPEED"))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue