Just made stars to blink more.
authorRicardo Cruz <rick2@aeiou.pt>
Sat, 1 May 2004 10:12:08 +0000 (10:12 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Sat, 1 May 2004 10:12:08 +0000 (10:12 +0000)
SVN-Revision: 875

src/player.cpp

index 785860b..90a9d6b 100644 (file)
@@ -599,7 +599,8 @@ Player::draw()
             }
 
           // Draw blinking star overlay
-          if (invincible_timer.started() && (invincible_timer.get_left() > TUX_INVINCIBLE_TIME_WARNING || global_frame_counter % 2))
+          if (invincible_timer.started() &&
+             (invincible_timer.get_left() > TUX_INVINCIBLE_TIME_WARNING || global_frame_counter % 3))
             {
               if (size == SMALL || duck)
                 smalltux_star->draw(base.x - scroll_x, base.y);