diff gamelib/animal.py @ 557:50d6c68ce267

Add gameboard to buildings. Update save version as this breaks old save games
author Neil Muller <drnlmuller@gmail.com>
date Sat, 28 Nov 2009 18:20:46 +0000
parents 11c4cebfe4c5
children 23fbf4651f99
line wrap: on
line diff
--- a/gamelib/animal.py	Sat Nov 28 18:04:28 2009 +0000
+++ b/gamelib/animal.py	Sat Nov 28 18:20:46 2009 +0000
@@ -672,7 +672,7 @@
         fence = self.gameboard.get_building(self.dig_pos.to_tile_tuple())
         # Another fox could have made the same hole this turn
         if fence:
-            fence.damage(self.gameboard.tv)
+            fence.damage()
         self.dig_pos = None
 
     def move(self):