From 77c244fa6316d4f1b3b29aab15e9dbcf8878c290 Mon Sep 17 00:00:00 2001 From: divverent Date: Fri, 14 Dec 2007 16:22:07 +0000 Subject: [PATCH] CDAudio_Stop: also stop a paused track (fixes bgmvolume 0 related segfault) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7799 d7cf8633-e32d-0410-b094-e92efae38249 --- cd_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cd_shared.c b/cd_shared.c index e56fa388..70f86cdb 100644 --- a/cd_shared.c +++ b/cd_shared.c @@ -201,7 +201,7 @@ void CDAudio_Play (unsigned char track, qboolean looping) void CDAudio_Stop (void) { - if (!enabled || !cdPlaying) + if (!enabled) return; if (faketrack != -1) -- 2.39.2