aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/sound_openal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/sound_openal.cpp b/src/client/sound_openal.cpp
index d66360057..8e696f302 100644
--- a/src/client/sound_openal.cpp
+++ b/src/client/sound_openal.cpp
@@ -343,7 +343,7 @@ public:
std::unordered_set<int> source_del_list;
for (const auto &sp : m_sounds_playing)
- source_del_list.insert(sp.second->source_id);
+ source_del_list.insert(sp.first);
for (const auto &id : source_del_list)
deleteSound(id);