isRoad: fix bug in which the wrong variable was used
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@788 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
9e9d1b2e9b
commit
20a41f71f7
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ public class TileConstants
|
|||
public static boolean isRoadDynamic(int tile)
|
||||
{
|
||||
int tmp = neutralizeRoad(tile);
|
||||
return (tmp >= ROADS && tile <= INTERSECTION);
|
||||
return (tmp >= ROADS && tmp <= INTERSECTION);
|
||||
}
|
||||
|
||||
public static boolean roadConnectsEast(int tile)
|
||||
|
|
Reference in a new issue