Fix sound not being played at the correct place.

master
Novatux 2014-03-15 15:08:43 +01:00
parent 362ef5f6ce
commit 93729b09d5
1 changed files with 1 additions and 1 deletions

View File

@ -2659,7 +2659,7 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
} }
// Update sound listener // Update sound listener
sound->updateListener(camera.getCameraNode()->getPosition(), sound->updateListener(camera.getCameraNode()->getPosition()+intToFloat(camera_offset, BS),
v3f(0,0,0), // velocity v3f(0,0,0), // velocity
camera.getDirection(), camera.getDirection(),
camera.getCameraNode()->getUpVector()); camera.getCameraNode()->getUpVector());