dead in water

This commit is contained in:
Stiffly
2014-06-05 07:05:55 +02:00
parent 9a7d0463a0
commit 2f617727a4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ void Systems::TankSteeringSystem::UpdateEntity(double dt, EntityID entity, Entit
if(vehicleComp)
{
auto transform = m_World->GetComponent<Components::Transform>(entity);
if(transform->Position.y < -10)
if(transform->Position.y < 0)
{
Events::Dead e;
e.Entity = entity;