Tux grows faster, stops growing when hit
authorChristoph Sommer <mail@christoph-sommer.de>
Sun, 3 Feb 2008 17:26:07 +0000 (17:26 +0000)
committerChristoph Sommer <mail@christoph-sommer.de>
Sun, 3 Feb 2008 17:26:07 +0000 (17:26 +0000)
SVN-Revision: 5309

data/images/creatures/tux/tux.sprite
src/object/player.cpp

index d07e463..6700c42 100644 (file)
@@ -88,7 +88,7 @@
 
        (action
          (name "grow-right")
-         (fps 5.0)
+         (fps 15.0)
          (hitbox 16 13 32 64)
          (images "small/grow-0.png"
                  "small/grow-1.png"
index fdbe8f2..08b50da 100644 (file)
@@ -1098,6 +1098,8 @@ Player::kill(bool completely)
   if(!completely && (safe_timer.started() || invincible_timer.started()))
     return;
 
+  growing = false;
+
   sound_manager->play("sounds/hurt.wav");
 
   if (climbing) stop_climbing(*climbing);