tiles: CLEAR is not doze-able

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@651 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-05-17 01:16:06 +00:00
parent aacddfa6ef
commit 4e27a04cc3

View file

@ -381,7 +381,7 @@ public class TileConstants
public static boolean isDozeable(int tile)
{
return (tile & BULLBIT) != 0;
return tile >= 0 && (tile & BULLBIT) != 0;
}
static boolean isFloodable(int tile)