fix interpolation for alphabetic
This commit is contained in:
parent
1d16ff216a
commit
d29c271471
1 changed files with 2 additions and 1 deletions
|
@ -128,7 +128,8 @@ public class Building extends MapObject {
|
||||||
float res = ((float) hint - fch) / (((float) sch - fch));
|
float res = ((float) hint - fch) / (((float) sch - fch));
|
||||||
if (res > 1 || res < -1) {
|
if (res > 1 || res < -1) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
return res;
|
||||||
}
|
}
|
||||||
if (num >= numB) {
|
if (num >= numB) {
|
||||||
if (fname.contains("-") && sname == null) {
|
if (fname.contains("-") && sname == null) {
|
||||||
|
|
Loading…
Reference in a new issue