diff options
-rw-r--r-- | src/client/sound_openal.cpp | 2 |
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); |