mirror of https://github.com/minetest/minetest.git
Update sound_openal.cpp
This commit is contained in:
parent
e42b8626af
commit
a354c558d4
|
@ -511,6 +511,7 @@ public:
|
|||
{
|
||||
ALint state;
|
||||
alGetSourcei(sound->source_id, AL_SOURCE_STATE, &state);
|
||||
|
||||
if(state != AL_PLAYING && state != AL_PAUSED) {
|
||||
del_list.insert(id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue