Fixed trailing whitespaces in all(?) source files of supertux, also fixed some svn...
[supertux.git] / src / object / endsequence.cpp
index 3a56cac..c9a91d3 100644 (file)
@@ -51,7 +51,7 @@ void
 EndSequence::update(float elapsed_time)
 {
   if (!isrunning) return;
-  running(elapsed_time);    
+  running(elapsed_time);
 }
 
 void
@@ -65,10 +65,11 @@ EndSequence::start()
   if (isrunning) return;
   isrunning = true;
   isdone = false;
-  
+
   Player& tux = *Sector::current()->player;
   end_sequence_controller = new CodeController();
   tux.set_controller(end_sequence_controller);
+  tux.set_speedlimit(230); //MAX_WALK_XM
 
   starting();
 }
@@ -99,12 +100,12 @@ EndSequence::is_done()
 {
   return isdone;
 }
-    
+
 void
 EndSequence::starting()
 {
   last_x_pos = -1;
-  endsequence_timer.start(7.3);
+  endsequence_timer.start(7.3f);
 }
 
 void
@@ -128,4 +129,3 @@ void
 EndSequence::stopping()
 {
 }
-