mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-22 14:45:27 +01:00
Fix sound direction and add experimental:soundblock alias sb in minimal for testing
This commit is contained in:
@@ -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());
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user