removed event that's not being used

This commit is contained in:
stiffly
2016-02-05 10:07:56 +01:00
parent d50caa1763
commit 71a86cab11
2 changed files with 1 additions and 15 deletions
+1 -10
View File
@@ -177,7 +177,6 @@ void SoundSystem::playQueue(QueuedBuffers qb)
alSourcePlay(qb.first);
}
void SoundSystem::stopSound(Source* source)
{
alSourceStop(source->ALsource);
@@ -402,7 +401,7 @@ bool SoundSystem::OnPlayerDamage(const Events::PlayerDamage & e)
source->Type = SoundType::SFX;
m_Sources[child] = source;
// breathe
// Breathe
std::vector<ALuint> buffers;
buffers.push_back(source->SoundResource->Buffer());
int ammountOfbreaths = (static_cast<int>(e.Damage) / 10) + 2; // TEMP: Idk something stupid like this shit
@@ -452,14 +451,6 @@ bool SoundSystem::OnComponentAttached(const Events::ComponentAttached & e)
return false;
}
bool SoundSystem::OnComponentDeleted(const Events::ComponentDeleted & e)
{
if (e.ComponentType == "SoundEmitter") {
}
return false;
}
bool SoundSystem::OnTriggerTouch(const Events::TriggerTouch & e)
{
if (m_World->HasComponent(e.Trigger.ID, "CapturePoint")) {