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:
jason@long.name 2013-05-16 23:46:46 +00:00
parent 66fc6f58d2
commit aacddfa6ef

View file

@ -403,6 +403,6 @@ public class TileConstants
public static boolean isZoneCenter(int tile)
{
return (tile & ZONEBIT) != 0;
return tile >= 0 && (tile & ZONEBIT) != 0;
}
}