aboutsummaryrefslogtreecommitdiffstats
path: root/al
diff options
context:
space:
mode:
Diffstat (limited to 'al')
-rw-r--r--al/source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/source.cpp b/al/source.cpp
index b5d0b383..98c52816 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -2403,7 +2403,7 @@ START_API_FUNC
{
ALdouble dval[1];
if(GetSourcedv(Source, context.get(), static_cast<SourceProp>(param), dval))
- *value = static_cast<ALfloat>(dval[1]);
+ *value = static_cast<ALfloat>(dval[0]);
}
}
END_API_FUNC