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:
parent
20a41f71f7
commit
4e11a80a2a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue