evalLot: fix so that railroads with wires are recognized as rails
This commit is contained in:
parent
6604b266aa
commit
f944e5293c
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ class MapScanner extends TileBehavior
|
||||||
// look for road
|
// look for road
|
||||||
if (city.testBounds(xx, yy)) {
|
if (city.testBounds(xx, yy)) {
|
||||||
int tmp = city.getTile(xx, yy);
|
int tmp = city.getTile(xx, yy);
|
||||||
if (isRoadAny(tmp) || isRail(tmp))
|
if (isRoadAny(tmp) || isRailAny(tmp))
|
||||||
{
|
{
|
||||||
score++;
|
score++;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue