Fixes
This commit is contained in:
parent
17c3bcf3da
commit
b9f0cb1c0c
1 changed files with 3 additions and 3 deletions
|
@ -54,9 +54,9 @@ public class PrecalculatedRouteDirection {
|
||||||
this.maxSpeed = parent.maxSpeed;
|
this.maxSpeed = parent.maxSpeed;
|
||||||
boolean inverse = false;
|
boolean inverse = false;
|
||||||
if (s1 > s2) {
|
if (s1 > s2) {
|
||||||
s1 = s1 + s2;
|
int tmp = s1;
|
||||||
s2 = s1 - s2;
|
s1 = s2;
|
||||||
s1 = s1 - s2;
|
s2 = tmp;
|
||||||
inverse = true;
|
inverse = true;
|
||||||
}
|
}
|
||||||
tms = new float[s2 - s1 + 1];
|
tms = new float[s2 - s1 + 1];
|
||||||
|
|
Loading…
Reference in a new issue