File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1345,16 +1345,20 @@ void CVehicleSA::RecalculateHandling()
1345
1345
continue ;
1346
1346
1347
1347
// If NOS is installed we need set the flag
1348
- if ((upgradeID >= 1008 && upgradeID <= 1010 ) && !(uiHandlingFlags & HANDLING_NOS_Flag) )
1348
+ if ((upgradeID >= 1008 && upgradeID <= 1010 ))
1349
1349
{
1350
- uiHandlingFlags |= HANDLING_NOS_Flag;
1350
+ if (!(uiHandlingFlags & HANDLING_NOS_Flag))
1351
+ uiHandlingFlags |= HANDLING_NOS_Flag;
1352
+
1351
1353
nitroInstalled = true ;
1352
1354
}
1353
1355
1354
1356
// If hydraulics is installed we need set the flag
1355
- if ((upgradeID == 1087 ) && !(uiHandlingFlags & HANDLING_Hydraulics_Flag) )
1357
+ if ((upgradeID == 1087 ))
1356
1358
{
1357
- uiHandlingFlags |= HANDLING_Hydraulics_Flag;
1359
+ if (!(uiHandlingFlags & HANDLING_Hydraulics_Flag))
1360
+ uiHandlingFlags |= HANDLING_Hydraulics_Flag;
1361
+
1358
1362
hydralicsInstalled = true ;
1359
1363
}
1360
1364
}
You can’t perform that action at this time.
0 commit comments