#2360 fix attempt
This commit is contained in:
parent
1cfbdd7c8c
commit
78fd0e373f
@ -527,8 +527,8 @@ void Camera::update(float dt)
|
|||||||
if (race_manager->getNumLocalPlayers() < 2)
|
if (race_manager->getNumLocalPlayers() < 2)
|
||||||
{
|
{
|
||||||
Vec3 pos(m_camera->getPosition());
|
Vec3 pos(m_camera->getPosition());
|
||||||
SFXManager::get()->positionListener(pos,
|
SFXManager::get()->positionListener(m_kart->getXYZ(),
|
||||||
Vec3(m_camera->getTarget()) - pos,
|
m_kart->getXYZ() + Vec3(0, 0, 1),
|
||||||
Vec3(0, 1, 0));
|
Vec3(0, 1, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user