# HG changeset patch # User Neil Muller # Date 1302360001 -7200 # Node ID 6850a3ab3aac1b525aa742fe19d4d8364fc9c0ff # Parent 00dbc053f9a0177b568d168d2570ac78b8137385 Remove redundant check diff -r 00dbc053f9a0 -r 6850a3ab3aac skaapsteker/sprites/player.py --- a/skaapsteker/sprites/player.py Sat Apr 09 16:54:11 2011 +0200 +++ b/skaapsteker/sprites/player.py Sat Apr 09 16:40:01 2011 +0200 @@ -136,8 +136,7 @@ continue clip = obj.collide_rect.clip(self.collide_rect) clip_area += clip.width * clip.height - if (obj.floor or obj.block) and \ - clip.width > TILE_SIZE[0] / 2 and \ + if clip.width > TILE_SIZE[0] / 2 and \ self.collide_rect.bottom < obj.collide_rect.top + TILE_SIZE[1] / 3: delta = self.rect.bottom - self.collide_rect.bottom self.collide_rect.bottom = obj.collide_rect.top - 1