Update end sequence controller and stop backflipping immediately in end equence.
authorMathnerd314 <man.is.allan@gmail.com>
Wed, 10 Mar 2010 04:30:25 +0000 (04:30 +0000)
committerMathnerd314 <man.is.allan@gmail.com>
Wed, 10 Mar 2010 04:30:25 +0000 (04:30 +0000)
SVN-Revision: 6589

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);
 }