Tux kicking animation wasn't being used in some circustances - fixed.
authorRicardo Cruz <rick2@aeiou.pt>
Wed, 28 Apr 2004 21:23:14 +0000 (21:23 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Wed, 28 Apr 2004 21:23:14 +0000 (21:23 +0000)
SVN-Revision: 821

src/badguy.cpp

index 4181a2d..bf6eb79 100644 (file)
@@ -845,6 +845,7 @@ BadGuy::squish(Player* player)
         }
 
         mode = KICK;
+        player->kick_timer.start(KICKING_TIME);
         set_sprite(img_mriceblock_flat_left, img_mriceblock_flat_right);
       }
 
@@ -1036,6 +1037,7 @@ BadGuy::collision(void *p_c_object, int c_object, CollisionType type)
         }
 
         mode = KICK;
+        player->kick_timer.start(KICKING_TIME);
         set_sprite(img_mriceblock_flat_left, img_mriceblock_flat_right);
       }
       break;