1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix sound direction and add experimental:soundblock alias sb in minimal for testing

This commit is contained in:
Perttu Ahola 2012-04-04 13:32:08 +03:00
parent 41f4941b74
commit a869d23451
2 changed files with 20 additions and 1 deletions

View file

@ -2080,7 +2080,7 @@ void the_game(
// Update sound listener
sound->updateListener(camera.getCameraNode()->getPosition(),
v3f(0,0,0), // velocity
camera.getCameraNode()->getTarget(),
camera.getDirection(),
camera.getCameraNode()->getUpVector());
/*