updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / slingshot / player.patch
blob4d5795e465cb14a8122120afad1ae652f040ee53
1 --- player.py 2007-07-13 20:27:18.000000000 +0200
2 +++ player.py.patched 2011-07-02 22:24:11.000000000 +0200
3 @@ -237,8 +237,8 @@
4 y = round(pos[1] - self.rect.topleft[1])
5 if x <= 1 or y <= 1:
6 return False
7 - x = x - 1
8 - y = y - 1
9 + x = int(x - 1)
10 + y = int(y - 1)
11 if not self.image.get_at((x,y)) == (0,0,0,0):
12 self.shot = True
13 return True