From 14d6958675a4b4833d12f799b4d6890426cf0dd7 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 9 Mar 2014 23:43:04 +0100 Subject: [PATCH] Soundsystem --- Escape-the-Dawn/Systems/SoundsSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Escape-the-Dawn/Systems/SoundsSystem.cpp b/Escape-the-Dawn/Systems/SoundsSystem.cpp index 3a17d16..cb69823 100644 --- a/Escape-the-Dawn/Systems/SoundsSystem.cpp +++ b/Escape-the-Dawn/Systems/SoundsSystem.cpp @@ -109,7 +109,7 @@ void Systems::SoundSystem::CreateSource(int ID, float pos[3], ALboolean looping) ALfloat SourceVel[] = { 0.0, 0.0, 0.0 }; ALfloat ListenerPos[] = { 0.0, 0.0, 0.0 }; // Playerpos? Camerapos? ALfloat ListenerVel[] = { 0.0, 0.0, 0.0 }; - ALfloat ListenerOri[] = { 0.0, 0.0, -1.0 , 0.0, 1.0, 0.0 }; //two vectors defining where the listener points, and an "up" vector + ALfloat ListenerOri[] = { 0.0, 0.0, -1.0 , 0.0, 1.0, 0.0 }; //two vectors, one defining where the listener points, and one "up" vector //Listener alListenerfv(AL_POSITION, ListenerPos);