Added missing '('
authorIngo Ruhnke <grumbel@gmx.de>
Mon, 8 Mar 2010 11:37:52 +0000 (11:37 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Mon, 8 Mar 2010 11:37:52 +0000 (11:37 +0000)
SVN-Revision: 6578

src/supertux/player_status.cpp

index 79f6a64..6980414 100644 (file)
@@ -157,7 +157,7 @@ PlayerStatus::draw(DrawingContext& context)
   {
     context.draw_surface(coin_surface, 
                          Vector(SCREEN_WIDTH - BORDER_X - coin_surface->get_width() - Resources::fixed_font->get_text_width(coins_text), 
-                                BORDER_Y + 1 + Resources::fixed_font->get_text_height(coins_text) + 5) * player_id),
+                                BORDER_Y + 1 + (Resources::fixed_font->get_text_height(coins_text) + 5) * player_id),
                          LAYER_HUD);
   }
   context.draw_text(Resources::fixed_font,