Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorin <toz@thorin-kerrs-macbook-3.local>2012-03-11 17:10:09 (GMT)
committer Thorin <toz@thorin-kerrs-macbook-3.local>2012-03-11 17:10:09 (GMT)
commite50dbc150e40492982322199e52aba1e8739d1db (patch)
tree10478a2bef22d5b5027839a9c46a585c8847751e
parent0ba427a1c71964ddedbf7abc511ca749e26691d2 (diff)
fix for sugar 0.94
-rwxr-xr-xCity/Parameters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/City/Parameters.py b/City/Parameters.py
index ca64d7f..a603e0b 100755
--- a/City/Parameters.py
+++ b/City/Parameters.py
@@ -36,7 +36,7 @@ class Instrument():
def loadImage(self, path, *scale):
img = pygame.image.load(path)
if scale:
- img = pygame.transform.scale(img, (img.get_width() * scale[0], img.get_height() * scale[-1]))
+ img = pygame.transform.scale(img, (int(img.get_width() * scale[0]), int(img.get_height() * scale[-1])))
img = img.convert_alpha()
self.active_image = img
self.Rect.size = img.get_size()