Stop backflipping when no longer grown (eg. due to hit).
authorWolfgang Becker <uafr@gmx.de>
Fri, 14 Mar 2008 18:04:39 +0000 (18:04 +0000)
committerWolfgang Becker <uafr@gmx.de>
Fri, 14 Mar 2008 18:04:39 +0000 (18:04 +0000)
SVN-Revision: 5372

src/object/player.cpp

index eac5fce..df0a5aa 100644 (file)
@@ -1120,6 +1120,7 @@ Player::kill(bool completely)
       safe_timer.start(TUX_SAFE_TIME /* + GROWING_TIME */);
       adjust_height(30.8f);
       duck = false;
+      backflipping = false;
       set_bonus(NO_BONUS, true);
     } else if(player_status->bonus == NO_BONUS) {
       safe_timer.start(TUX_SAFE_TIME);