evalLog road test: let road/rail crossing count as road
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@847 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
36035942af
commit
90149dc9c0
1 changed files with 1 additions and 1 deletions
|
@ -968,7 +968,7 @@ class MapScanner
|
|||
// look for road
|
||||
if (city.testBounds(xx, yy)) {
|
||||
int tmp = city.getTile(xx, yy);
|
||||
if (isRoad(tmp) || isRail(tmp))
|
||||
if (isRoadAny(tmp) || isRail(tmp))
|
||||
{
|
||||
score++;
|
||||
}
|
||||
|
|
Reference in a new issue