changeset 20:2fe0b9edcbbf

rolling animations
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Sun, 27 Apr 2014 15:34:04 +0200
parents 6e97c68e7ce8
children 3c3f2d027f15
files undermine/game.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/undermine/game.py	Sun Apr 27 15:33:32 2014 +0200
+++ b/undermine/game.py	Sun Apr 27 15:34:04 2014 +0200
@@ -91,7 +91,7 @@
             if fell:
                 self.dig((x, y))
                 try:
-                    if self.level[x, y + 2] == self.hero:
+                    if not thing.pick and self.level[x, y + 2] == self.hero:
                         self.die()
                 except IndexError:
                     pass