tiles: CLEAR is not a zone-center
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@650 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
66fc6f58d2
commit
aacddfa6ef
1 changed files with 1 additions and 1 deletions
|
@ -403,6 +403,6 @@ public class TileConstants
|
||||||
|
|
||||||
public static boolean isZoneCenter(int tile)
|
public static boolean isZoneCenter(int tile)
|
||||||
{
|
{
|
||||||
return (tile & ZONEBIT) != 0;
|
return tile >= 0 && (tile & ZONEBIT) != 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue