changeset 592:1386cae4cc15

Remove don't crash if we're colliding with a player after being bounced off the floor
author Neil Muller <drnlmuller@gmail.com>
date Sun, 10 Apr 2011 18:39:18 +0200
parents 87947e4afa02
children 75e955c11154
files skaapsteker/sprites/base.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/skaapsteker/sprites/base.py	Sun Apr 10 18:31:06 2011 +0200
+++ b/skaapsteker/sprites/base.py	Sun Apr 10 18:39:18 2011 +0200
@@ -254,7 +254,7 @@
     def check_floors(self, floors):
         """If we're only on 1 floor tile, and our centre is beyond half way,
            turn back"""
-        if len(floors) > 1:
+        if len(floors) != 1:
             return
 
         floor = floors[0]