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:
parent
41f4941b74
commit
a869d23451
2 changed files with 20 additions and 1 deletions
|
@ -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());
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue