From: Ricardo Cruz Date: Wed, 28 Apr 2004 21:23:14 +0000 (+0000) Subject: Tux kicking animation wasn't being used in some circustances - fixed. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cf2c2f18cf333886f5ff89d5d1b36e52a969cbbe;p=supertux.git Tux kicking animation wasn't being used in some circustances - fixed. SVN-Revision: 821 --- diff --git a/src/badguy.cpp b/src/badguy.cpp index 4181a2d85..bf6eb7940 100644 --- a/src/badguy.cpp +++ b/src/badguy.cpp @@ -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;