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