From 2b16e56ddf1000409da0acb6890c21a8d07e80fe Mon Sep 17 00:00:00 2001 From: Wolfgang Becker Date: Fri, 14 Mar 2008 18:04:39 +0000 Subject: [PATCH] Stop backflipping when no longer grown (eg. due to hit). SVN-Revision: 5372 --- src/object/player.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.11.0