Changeset 398:6850a3ab3aac


Ignore:
Timestamp:
04/09/11 14:40:01 (12 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Rebase:
34383436326630326239333435333136316462656334376165306639383861623530333531363539
Message:

Remove redundant check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/player.py

    r396 r398  
    137137                clip = obj.collide_rect.clip(self.collide_rect)
    138138                clip_area += clip.width * clip.height
    139                 if (obj.floor or obj.block) and \
    140                         clip.width > TILE_SIZE[0] / 2 and \
     139                if clip.width > TILE_SIZE[0] / 2 and \
    141140                        self.collide_rect.bottom < obj.collide_rect.top + TILE_SIZE[1] / 3:
    142141                   delta = self.rect.bottom - self.collide_rect.bottom
Note: See TracChangeset for help on using the changeset viewer.