diff --git a/source/src/sound.cpp b/source/src/sound.cpp index 41ef98fb..27ebf865 100644 --- a/source/src/sound.cpp +++ b/source/src/sound.cpp @@ -906,6 +906,7 @@ struct sbuffer if(!id) return; alclearerr(); if(alIsBuffer(id)) alDeleteBuffers(1, &id); + id = 0; alerr(); } };