life lost sound

This commit is contained in:
Stiffly
2015-10-21 15:52:10 +02:00
parent 59dbe97191
commit 784b2e1d58
3 changed files with 4 additions and 0 deletions
+3
View File
@@ -176,6 +176,9 @@ void dd::Systems::BallSystem::UpdateEntity(double dt, EntityID entity, EntityID
Events::LifeLost e;
e.Entity = entity;
EventBroker->Publish(e);
Events::PlaySound se;
se.FilePath = "Sounds/jap-lose-life.wav";
EventBroker->Publish(se);
return;
}
} //Removing this made the wall collisions work again