From a869d2345161e30163f8007b6b833bceffd98ebb Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 4 Apr 2012 13:32:08 +0300 Subject: Fix sound direction and add experimental:soundblock alias sb in minimal for testing --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()); /* -- cgit v1.2.3