diff --git a/source/src/sound.cpp b/source/src/sound.cpp index 88c7d413..f2782021 100644 --- a/source/src/sound.cpp +++ b/source/src/sound.cpp @@ -159,8 +159,9 @@ struct oggstream alclearerr(); alBufferData(bufid, format, pcm, size, info->rate); + return !alerr(); } - return !alerr(); + return false; } bool update()