PlaySFX now uses Position instead of Emitter ID for playing a sound.

This commit is contained in:
Stiffly
2014-06-03 21:02:39 +02:00
parent 2833b8df36
commit df32a3b07d
4 changed files with 31 additions and 21 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ bool Systems::DebugSystem::OnKeyDown(const Events::KeyDown &event)
if (event.KeyCode == GLFW_KEY_ENTER)
{
Events::PlaySFX e;
e.Emitter = 0;
e.Position = glm::vec3(0);
e.Resource = "Sounds/korvring.wav";
EventBroker->Publish<Events::PlaySFX>(e);