diff --git a/src/client/sound/ogg.c b/src/client/sound/ogg.c index 5e18becc..517ecd9a 100644 --- a/src/client/sound/ogg.c +++ b/src/client/sound/ogg.c @@ -324,6 +324,11 @@ OGG_Stream(void) void OGG_PlayTrack(int trackNo) { + if (sound_started == SS_NOT) + { + return; // sound is not initialized + } + // Track 0 means "stop music". if(trackNo == 0) {