Mercurial > rinkhals
diff gamelib/gameboard.py @ 395:2d0ff46118e2
Basic support for z coordinate
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Thu, 12 Nov 2009 21:14:21 +0000 |
parents | bb75979b58e6 |
children | 19e583e5cdc0 |
line wrap: on
line diff
--- a/gamelib/gameboard.py Thu Nov 12 15:19:12 2009 +0000 +++ b/gamelib/gameboard.py Thu Nov 12 21:14:21 2009 +0000 @@ -776,8 +776,8 @@ for fox in self.foxes.copy(): # Any foxes that didn't make it to the woods are automatically # killed - if self.in_bounds(fox.pos) and self.tv.get(fox.pos.to_tuple()) \ - != self.WOODLAND: + if self.in_bounds(fox.pos) and \ + self.tv.get(fox.pos.to_tile_tuple()) != self.WOODLAND: self.kill_fox(fox) else: self.tv.sprites.remove(fox)