This commit is contained in:
Marianne Gagnon 2015-11-03 19:15:55 -05:00
parent 1cfbdd7c8c
commit 78fd0e373f

View File

@ -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));
}