Comparators: use <= in comparison mode
This commit is contained in:
parent
4e5ab02a58
commit
2e18e4f51c
@ -22,7 +22,7 @@ public:
|
||||
else
|
||||
{
|
||||
// Comparison mode
|
||||
return (std::max(a_HighestSidePowerLevel, a_HighestRearPowerLevel) == a_HighestSidePowerLevel) ? 0 : a_HighestRearPowerLevel;
|
||||
return (a_HighestRearPowerLevel < a_HighestSidePowerLevel) ? 0 : a_HighestRearPowerLevel;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user