life lost sound
This commit is contained in:
Binary file not shown.
@@ -41,6 +41,7 @@
|
||||
#include "Game/ELifebuoyHit.h"
|
||||
#include "Physics/ECreateParticleSequence.h"
|
||||
#include "Sound/CCollisionSound.h"
|
||||
#include "Sound/EPlaySound.h"
|
||||
|
||||
namespace dd
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user