From 026504c85701653667d9f1977562974905abec05 Mon Sep 17 00:00:00 2001 From: Mathnerd314 Date: Wed, 10 Mar 2010 04:30:25 +0000 Subject: [PATCH] Update end sequence controller and stop backflipping immediately in end equence. SVN-Revision: 6589 --- src/object/endsequence.cpp | 1 + src/object/player.cpp | 2 ++ 2 files changed, 3 insertions(+) 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); } -- 2.11.0