From 78fd0e373f44eb69f3b3fdb3e1dcfc1e2058b1cd Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Tue, 3 Nov 2015 19:15:55 -0500 Subject: [PATCH] #2360 fix attempt --- src/graphics/camera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/camera.cpp b/src/graphics/camera.cpp index 5c4d67693..a900fe39c 100644 --- a/src/graphics/camera.cpp +++ b/src/graphics/camera.cpp @@ -527,8 +527,8 @@ void Camera::update(float dt) if (race_manager->getNumLocalPlayers() < 2) { Vec3 pos(m_camera->getPosition()); - SFXManager::get()->positionListener(pos, - Vec3(m_camera->getTarget()) - pos, + SFXManager::get()->positionListener(m_kart->getXYZ(), + m_kart->getXYZ() + Vec3(0, 0, 1), Vec3(0, 1, 0)); }