summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-03-26 14:28:20 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-03-26 14:28:20 +0200
commit0a7f8a48a9161e16e1366d492655fd7df04f48a3 (patch)
tree7d957232d075b390f9bdccfddddc968a2a9214f6 /src/main.cpp
parenta016a156e76f7394c5632da325ab0b453cfb3b37 (diff)
Destroy sounds that finished playing.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3f60f25..ea0092d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -69,6 +69,7 @@ int main()
render.begin_frame(now, dt);
render.render(&game);
interface.render_to(&render);
+ audio::clean_sounds();
render.end_frame();
}