isWire: fix bug in which the wrong variable was used

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@789 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-08-11 22:43:23 +00:00
parent 20a41f71f7
commit 4e11a80a2a

View file

@ -594,7 +594,7 @@ public class TileConstants
public static boolean isWireDynamic(int tile)
{
int tmp = tile & LOMASK;
return (tmp >= LHPOWER && tile <= LVPOWER10);
return (tmp >= LHPOWER && tmp <= LVPOWER10);
}
public static boolean wireConnectsEast(int tile)