Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2010-08-16 18:55:45 +0400
committerJoerg Mueller <nexyon@gmail.com>2010-08-16 18:55:45 +0400
commita3837b617b9df268a1dba40848df446b53ed1a01 (patch)
tree16764e3c455ea0b1b4040b450d00d80719241cd6 /source/gameengine/Ketsji
parent75bb393ecc6799bb6d379c05fb33bf40ac2d6fad (diff)
Audaspace: Fixing quaternion and relativeness of 3D sounds error.
Diffstat (limited to 'source/gameengine/Ketsji')
-rw-r--r--source/gameengine/Ketsji/KX_SoundActuator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_SoundActuator.cpp b/source/gameengine/Ketsji/KX_SoundActuator.cpp
index 09ad567117f..9ebb36578c4 100644
--- a/source/gameengine/Ketsji/KX_SoundActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SoundActuator.cpp
@@ -102,7 +102,7 @@ void KX_SoundActuator::play()
// sound shall be played 3D
m_handle = AUD_play(sound, 0);
- AUD_setRelative(m_handle, true);
+ AUD_setRelative(m_handle, false);
AUD_setVolumeMaximum(m_handle, m_3d.max_gain);
AUD_setVolumeMinimum(m_handle, m_3d.min_gain);
AUD_setDistanceReference(m_handle, m_3d.reference_distance);