aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index bcd242d6..1b157666 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1820,6 +1820,8 @@ static ALvoid InitContext(ALCcontext *Context)
for(j = 0;j < 4;j++)
Context->Listener->Params.Matrix[i][j] = ((i==j) ? 1.0f : 0.0f);
}
+ for(i = 0;i < 3;i++)
+ Context->Listener->Params.Velocity[i] = 0.0f;
//Validate Context
Context->LastError = AL_NO_ERROR;