Skip to content

Commit

Permalink
Merge remote-tracking branch 'nils/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
xymus committed Mar 22, 2015
2 parents 68d91e1 + 9f1b00f commit 13608fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/displays/sdl.py
Expand Up @@ -387,8 +387,8 @@ def drawRepeated( self, img, pos, repeatx=1, repeaty=1 ):
IMG_HEIGHT = self.getHeight(img) IMG_HEIGHT = self.getHeight(img)
RANGE_X = xrange( 0, repeatx ) RANGE_X = xrange( 0, repeatx )
RANGE_Y = xrange( 0, repeaty ) RANGE_Y = xrange( 0, repeaty )
[[self.screen.blit(img, (POS_0+IMG_WIDTH*x,POS_1+IMG_HEIGHT*y)) [self.screen.blit(img, (POS_0+IMG_WIDTH*x,POS_1+IMG_HEIGHT*y))
for y in RANGE_Y] for x in RANGE_X] for y in RANGE_Y for x in RANGE_X]


def rotate( self, img, rotation ): def rotate( self, img, rotation ):
angle = int(degrees(rotation)) angle = int(degrees(rotation))
Expand Down

0 comments on commit 13608fd

Please sign in to comment.