* Add Airship (regular above-ground theme) and Battle (castle/boss theme) music court...
[supertux.git] / src / object / endsequence.cpp
index c9a91d3..2e4cc6a 100644 (file)
@@ -104,25 +104,11 @@ EndSequence::is_done()
 void
 EndSequence::starting()
 {
-  last_x_pos = -1;
-  endsequence_timer.start(7.3f);
 }
 
 void
 EndSequence::running(float /*elapsed_time*/)
 {
-  Player& tux = *Sector::current()->player;
-
-  if (tux_may_walk) {
-    end_sequence_controller->press(Controller::RIGHT);
-    if (int(last_x_pos) == int(tux.get_pos().x)) {
-      end_sequence_controller->press(Controller::JUMP);
-    }
-  }
-
-  last_x_pos = tux.get_pos().x;
-
-  if (endsequence_timer.check()) isdone = true;
 }
 
 void