#include <config.h>
#include "endsequence_fireworks.hpp"
#include "sector.hpp"
+#include "mainloop.hpp"
#include "object/player.hpp"
#include "object/fireworks.hpp"
EndSequenceFireworks::starting()
{
EndSequence::starting();
- endsequence_timer.start(7.3f);
+ endsequence_timer.start(7.3f * main_loop->get_speed());
Sector::current()->add_object(new Fireworks());
}
#include <config.h>
#include "endsequence_walkleft.hpp"
#include "sector.hpp"
+#include "mainloop.hpp"
#include "object/player.hpp"
EndSequenceWalkLeft::EndSequenceWalkLeft()
{
EndSequence::starting();
last_x_pos = -1;
- endsequence_timer.start(7.3f);
+ endsequence_timer.start(7.3f * main_loop->get_speed());
}
void
#include <config.h>
#include "endsequence_walkright.hpp"
#include "sector.hpp"
+#include "mainloop.hpp"
#include "object/player.hpp"
EndSequenceWalkRight::EndSequenceWalkRight()
{
EndSequence::starting();
last_x_pos = -1;
- endsequence_timer.start(7.3f);
+ endsequence_timer.start(7.3f * main_loop->get_speed());
}
void