From 3e1eddbcca15042a7a63f29f5db3ce66237355b9 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 8 Dec 2012 06:47:53 +0100 Subject: assorted updates and fixes --- src/koopatlas/mapmusic.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/koopatlas/mapmusic.cpp') diff --git a/src/koopatlas/mapmusic.cpp b/src/koopatlas/mapmusic.cpp index 9998954..8890df5 100644 --- a/src/koopatlas/mapmusic.cpp +++ b/src/koopatlas/mapmusic.cpp @@ -71,8 +71,10 @@ void dKPMusic::execute() { if (!s_playing) return; - if (s_handle.GetSound() == 0) + if (s_handle.GetSound() == 0) { OSReport("SOUND IS NOT PLAYING!\n"); + return; + } if (s_countdownToSwitch >= 0) { s_countdownToSwitch--; -- cgit v1.2.3