Update end sequence controller and stop backflipping immediately in end equence.
authormathnerd314 <mathnerd314@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Wed, 10 Mar 2010 04:30:25 +0000 (04:30 +0000)
committermathnerd314 <mathnerd314@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Wed, 10 Mar 2010 04:30:25 +0000 (04:30 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6589 837edb03-e0f3-0310-88ca-d4d4e8b29345

src/object/endsequence.cpp
src/object/player.cpp

index df0a690..1531b67 100644 (file)
@@ -94,6 +94,7 @@ EndSequence::starting()
 void
 EndSequence::running(float /*elapsed_time*/)
 {
+  end_sequence_controller->update();
 }
 
 void
index c456dec..397aa54 100644 (file)
@@ -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);
 }