From: mathnerd314 Date: Wed, 10 Mar 2010 04:30:25 +0000 (+0000) Subject: Update end sequence controller and stop backflipping immediately in end equence. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=65190fda84884f865308be6ff257484ac1024848;p=supertux.git Update end sequence controller and stop backflipping immediately in end equence. git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6589 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- diff --git a/src/object/endsequence.cpp b/src/object/endsequence.cpp index df0a69051..1531b674b 100644 --- a/src/object/endsequence.cpp +++ b/src/object/endsequence.cpp @@ -94,6 +94,7 @@ EndSequence::starting() void EndSequence::running(float /*elapsed_time*/) { + end_sequence_controller->update(); } void diff --git a/src/object/player.cpp b/src/object/player.cpp index c456dec9a..397aa54ec 100644 --- a/src/object/player.cpp +++ b/src/object/player.cpp @@ -303,6 +303,8 @@ void Player::trigger_sequence(std::string sequence_name) { if (climbing) stop_climbing(*climbing); + backflipping = false; + backflip_direction = 0; GameSession::current()->start_sequence(sequence_name); }