Added more Error checks

This commit is contained in:
Stiffly
2014-05-27 04:41:51 +02:00
parent 3b96be2162
commit 62adbdb2c8
5 changed files with 41 additions and 29 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ void InputManager::Update(double dt)
if(m_CurrentKeyState[GLFW_KEY_Z])
{
Events::PlaySound e;
e.Resource = "Sounds/BGM/MainMenu.mp3";
e.Emitter = 66;
e.Resource = "Sounds/WUB.mp3";
e.Emitter = 16;
e.Loop = true;
EventBroker->Publish(e);
}