diff --git a/src/sound/s_sndseq.cpp b/src/sound/s_sndseq.cpp index 80c1eda58..21e8fc236 100644 --- a/src/sound/s_sndseq.cpp +++ b/src/sound/s_sndseq.cpp @@ -151,7 +151,7 @@ public: } bool IsPlaying() { - return S_GetSoundPlayingInfo (m_Poly, m_CurrentSoundID); + return m_CurrentSoundID != 0 && S_GetSoundPlayingInfo (m_Poly, m_CurrentSoundID); } void *Source() { @@ -180,7 +180,7 @@ public: } bool IsPlaying() { - return S_GetSoundPlayingInfo (m_Sector, m_CurrentSoundID); + return m_CurrentSoundID != 0 && S_GetSoundPlayingInfo (m_Sector, m_CurrentSoundID); } void *Source() {