EndSequence::update(float elapsed_time)
{
if (!isrunning) return;
- running(elapsed_time);
+ running(elapsed_time);
}
void
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();
}
{
return isdone;
}
-
+
void
EndSequence::starting()
{
last_x_pos = -1;
- endsequence_timer.start(7.3);
+ endsequence_timer.start(7.3f);
}
void
EndSequence::stopping()
{
}
-