mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
remove braces
This commit is contained in:
parent
c994ed7d16
commit
823b35a3ba
@ -173,9 +173,8 @@ float LegoNavController::CalculateNewAccel(int p_pos, int p_center, float p_maxA
|
||||
|
||||
result = Abs(diff) * p_maxAccel / p_center;
|
||||
|
||||
if (result < p_minAccel) {
|
||||
if (result < p_minAccel)
|
||||
result = (float) p_minAccel;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user