cleanup: eliminate unused isHospitalOrChurch() function
This commit is contained in:
parent
d4a80ec466
commit
bbfc73961c
1 changed files with 0 additions and 8 deletions
|
@ -556,14 +556,6 @@ public class TileConstants
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isHospitalOrChurch(int tile)
|
|
||||||
{
|
|
||||||
assert (tile & LOMASK) == tile;
|
|
||||||
|
|
||||||
return tile >= HOSPITAL &&
|
|
||||||
tile < COMBASE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks whether the tile is defined with the "industrial-zone" attribute.
|
* Checks whether the tile is defined with the "industrial-zone" attribute.
|
||||||
* Note: the old version of this function erroneously included the coal power
|
* Note: the old version of this function erroneously included the coal power
|
||||||
|
|
Reference in a new issue