Permalink
Browse files

Merge remote-tracking branch 'nils/master'

  • Loading branch information...
xymus committed Mar 22, 2015
2 parents 68d91e1 + 9f1b00f commit 13608fdc19d9ccfccbb031305c325605d38e233a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/client/displays/sdl.py
@@ -387,8 +387,8 @@ def drawRepeated( self, img, pos, repeatx=1, repeaty=1 ):
IMG_HEIGHT = self.getHeight(img)
RANGE_X = xrange( 0, repeatx )
RANGE_Y = xrange( 0, repeaty )
[[self.screen.blit(img, (POS_0+IMG_WIDTH*x,POS_1+IMG_HEIGHT*y))
for y in RANGE_Y] for x in RANGE_X]
[self.screen.blit(img, (POS_0+IMG_WIDTH*x,POS_1+IMG_HEIGHT*y))
for y in RANGE_Y for x in RANGE_X]
def rotate( self, img, rotation ):
angle = int(degrees(rotation))

0 comments on commit 13608fd

Please sign in to comment.