aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index e79f0fc3..7d34f368 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -3373,8 +3373,8 @@ ALvoid ReleaseALSources(ALCcontext *Context)
ALsizei pos;
for(pos = 0;pos < Context->SourceMap.size;pos++)
{
- ALsource *temp = Context->SourceMap.array[pos].value;
- Context->SourceMap.array[pos].value = NULL;
+ ALsource *temp = Context->SourceMap.values[pos];
+ Context->SourceMap.values[pos] = NULL;
DeinitSource(temp);