Only in slingshot-0.8.1p/slingshot: general.pyc
Only in slingshot-0.8.1p/slingshot: menu.pyc
Only in slingshot-0.8.1p/slingshot: particle.pyc
diff -U3 -r slingshot-0.8.1p.old/slingshot/planet.py slingshot-0.8.1p/slingshot/planet.py
--- slingshot-0.8.1p.old/slingshot/planet.py 2007-06-22 06:52:33.000000000 -0500
+++ slingshot-0.8.1p/slingshot/planet.py 2010-12-04 18:00:17.000000000 -0600
@@ -56,7 +56,7 @@
if d < (self.r + p.get_radius()) * 1.5 + 0.1 * (self.mass + p.get_mass()):
positioned = False
- s = round(2 * self.r / 0.96)
+ s = int(round(2 * self.r / 0.96))
self.orig = pygame.transform.scale(self.image, (s, s))
self.image = self.orig
Only in slingshot-0.8.1p/slingshot: planet.pyc
diff -U3 -r slingshot-0.8.1p.old/slingshot/player.py slingshot-0.8.1p/slingshot/player.py
--- slingshot-0.8.1p.old/slingshot/player.py 2007-07-13 13:27:18.000000000 -0500
+++ slingshot-0.8.1p/slingshot/player.py 2010-12-04 18:02:05.000000000 -0600
@@ -233,8 +233,8 @@
if not self.rect.collidepoint(pos):
return False
- x = round(pos[0] - self.rect.topleft[0])
- y = round(pos[1] - self.rect.topleft[1])
+ x = int(round(pos[0] - self.rect.topleft[0]))
+ y = int(round(pos[1] - self.rect.topleft[1]))
if x <= 1 or y <= 1:
return False
x = x - 1
Only in slingshot-0.8.1p/slingshot: player.pyc
Only in slingshot-0.8.1p/slingshot: settings.pyc
diff -U3 -r slingshot-0.8.1p.old/slingshot/slingshot.py slingshot-0.8.1p/slingshot/slingshot.py
--- slingshot-0.8.1p.old/slingshot/slingshot.py 2007-07-13 14:57:05.000000000 -0500
+++ slingshot-0.8.1p/slingshot/slingshot.py 2010-12-04 18:00:58.000000000 -0600
@@ -441,7 +441,7 @@
tmp.set_colorkey((0,0,0))
tmp = tmp.convert_alpha()
rect = tmp.get_rect()
- s = (100 - self.show_round) * rect.h / 25
+ s = int((100 - self.show_round) * rect.h / 25)
tmp = pygame.transform.scale(tmp, (rect.w / rect.h * s, s ))
rect = tmp.get_rect()
rect.center = (399,299)