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:
jason@long.name 2013-08-11 22:43:19 +00:00
parent 9e9d1b2e9b
commit 20a41f71f7

View file

@ -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)