fixed issue #9

small-fixes-for-0.3.3
Max Lange 8 years ago
parent 34ec9c4184
commit a337282d6b

@ -34,6 +34,8 @@ def init():
correcture_pos = correcture.fill((0, 0, 0))
correcture.set_alpha(255)
correcture_pos.topleft = (0, (settings.screenx_current * 9.0 / 16))
else:
correcture_pos = pygame.Rect(0, settings.screeny_current, 0, 0)
def ingame():
@ -183,7 +185,7 @@ def drawworldname():
def status():
correcture_pos = pygame.Rect(0, 0, 0, 0)
"""Draws the ships energy in the lower right corner."""
xsize = int(settings.screenx_current * 0.05)
ysize = int(settings.screeny_current * 0.3) + 10
bar = pygame.Surface((xsize, ysize)).convert_alpha()

Loading…
Cancel
Save