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=026504c85701653667d9f1977562974905abec05;p=supertux.git Update end sequence controller and stop backflipping immediately in end equence. SVN-Revision: 6589 --- 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); }