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
+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);
}
}