diff --git a/src/client/sound/openal.c b/src/client/sound/openal.c index 527fe2cc..fadb36a5 100644 --- a/src/client/sound/openal.c +++ b/src/client/sound/openal.c @@ -70,6 +70,10 @@ AL_StreamDie(void) { int numBuffers; + /* openal might not be initialised yet */ + if (!qalSourceStop) + return; + streamPlaying = false; qalSourceStop(streamSource);