aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-04-04 13:32:08 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-04-04 13:32:08 +0300
commita869d2345161e30163f8007b6b833bceffd98ebb (patch)
treeaf649061119044678d53c52bb6652a735e79412c /src
parent41f4941b743512c9cf3b4b009f58879fa3dc6d82 (diff)
downloadminetest-a869d2345161e30163f8007b6b833bceffd98ebb.tar.gz
minetest-a869d2345161e30163f8007b6b833bceffd98ebb.tar.bz2
minetest-a869d2345161e30163f8007b6b833bceffd98ebb.zip
Fix sound direction and add experimental:soundblock alias sb in minimal for testing
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index a0f6c0d8c..fb429beba 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -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());
/*