From: Wolfgang Becker Date: Fri, 14 Mar 2008 18:04:39 +0000 (+0000) Subject: Stop backflipping when no longer grown (eg. due to hit). X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2b16e56ddf1000409da0acb6890c21a8d07e80fe;p=supertux.git Stop backflipping when no longer grown (eg. due to hit). SVN-Revision: 5372 --- diff --git a/src/object/player.cpp b/src/object/player.cpp index eac5fce2e..df0a5aa43 100644 --- a/src/object/player.cpp +++ b/src/object/player.cpp @@ -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);