Update Building.java
This commit is contained in:
parent
c98ae20599
commit
1d16ff216a
1 changed files with 5 additions and 2 deletions
|
@ -114,8 +114,11 @@ public class Building extends MapObject {
|
|||
int numB = Algorithms.extractFirstIntegerNumber(fname);
|
||||
int numT = numB;
|
||||
String sname = getName2();
|
||||
|
||||
if (getInterpolationType() == BuildingInterpolation.ALPHABETIC && num == numB) {
|
||||
if (getInterpolationType() == BuildingInterpolation.ALPHABETIC) {
|
||||
if (num != numB) {
|
||||
// currently not supported
|
||||
return -1;
|
||||
}
|
||||
int hint = (int) hno.charAt(hno.length() - 1);
|
||||
int fch = (int) fname.charAt(fname.length() - 1);
|
||||
int sch = sname.charAt(sname.length() - 1);
|
||||
|
|
Loading…
Reference in a new issue