# HG changeset patch # User Stefano Rivera # Date 1359196217 -7200 # Node ID 8ac05c038e7312da9051a461016915040863bd73 # Parent bd8227068d86d9fc496f2c5b501a14b50e544275 Turn a FIXME around thing rect handling into a TODO entry diff -r bd8227068d86 -r 8ac05c038e73 TODO --- a/TODO Sat Jan 26 12:18:49 2013 +0200 +++ b/TODO Sat Jan 26 12:30:17 2013 +0200 @@ -7,6 +7,8 @@ Cleanups: * Clean-up finding and loading of speech strings. * Fix thing.enter being called multiple times without leaving + * Things have lists of rects or a single rect in the rect attribute. This + should be refactored for sanity. Hints: * More help with the starting puzzle (another interactable cryo-chamber?) diff -r bd8227068d86 -r 8ac05c038e73 pyntnclick/state.py --- a/pyntnclick/state.py Sat Jan 26 12:18:49 2013 +0200 +++ b/pyntnclick/state.py Sat Jan 26 12:30:17 2013 +0200 @@ -456,7 +456,6 @@ if hasattr(self.rect, 'collidepoint'): return self.rect.collidepoint(pos) else: - # FIXME: add sanity check for rect in list(self.rect): if rect.collidepoint(pos): return True