Correction: Not Stable!

This commit is contained in:
PlatinumSkink
2015-10-06 15:38:15 +02:00
parent 5b425f27ae
commit 4617dd95b7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ void dd::Systems::HitLagSystem::Update(double dt)
if (IsPaused()) {
if (HitLag()) {
SetHitLagTimer(HitLagTimer() += dt);
std::cout << HitLagTimer() << std::endl;
//std::cout << HitLagTimer() << std::endl;
if (HitLagDuration() < HitLagTimer()) {
SetHitLagTimer(0);
SetHitLag(false);
+2 -2
View File
@@ -72,7 +72,7 @@ void dd::Systems::LevelSystem::UpdateEntity(double dt, EntityID entity, EntityID
//Removes bricks that falls out of the stage.
if (transform->Position.y < -10) {
m_LooseBricks--;
std::cout << m_LooseBricks << std::endl;
//std::cout << m_LooseBricks << std::endl;
m_World->RemoveEntity(entity);
}
}
@@ -96,7 +96,7 @@ void dd::Systems::LevelSystem::UpdateEntity(double dt, EntityID entity, EntityID
} else {
if (brick != nullptr) {
m_LooseBricks--;
std::cout << m_LooseBricks << std::endl;
//std::cout << m_LooseBricks << std::endl;
m_World->RemoveEntity(entity);
}
}