taking out blue background color

This commit is contained in:
Manish 2019-01-25 19:25:08 +01:00
parent e6b6d7dc6f
commit 2f8ed18b5c
1 changed files with 0 additions and 1 deletions

View File

@ -867,7 +867,6 @@ class ModuleWorld(object):
def rotate(self, img, pos, angle): def rotate(self, img, pos, angle):
w, h = img.get_size() w, h = img.get_size()
img2 = pygame.Surface((w*2, h*2), pygame.SRCALPHA) img2 = pygame.Surface((w*2, h*2), pygame.SRCALPHA)
img2.fill(COLOR_BLUE)
img2.blit(img, (w-pos[0], h-pos[1])) img2.blit(img, (w-pos[0], h-pos[1]))
return pygame.transform.rotate(img2, angle) return pygame.transform.rotate(img2, angle)