changeset 257:c00022002c63

PEP8
author David Sharpe
date Thu, 05 Sep 2013 00:08:58 +0200
parents 2a0bad886956
children 083053422a84
files nagslang/screens/area.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/nagslang/screens/area.py	Thu Sep 05 00:06:37 2013 +0200
+++ b/nagslang/screens/area.py	Thu Sep 05 00:08:58 2013 +0200
@@ -191,8 +191,7 @@
 
     def render_health_bar(self, surface):
         rect = pygame.Rect(50, 500, 110, 50)
-        pygame.draw.rect(surface,  pygame.color.THECOLORS['white'],
-                         rect, 0)
+        pygame.draw.rect(surface,  health_box_colour, rect, 0)
         if self.protagonist.in_human_form():
             health_colour = pygame.color.THECOLORS['red']
         else: