summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 20110e5..9af2736 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -70,8 +70,7 @@ int main()
render.render(&game);
game.compute_ambience(&render);
interface.render_to(&render);
- audio::clean_sounds();
- audio::update_ambience(!game.paused);
+ audio::update(interface.camera_3d, game.paused);
render.end_frame();
}