summaryrefslogtreecommitdiff
path: root/src/koopatlas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/mapmusic.cpp4
1 files changed, 3 insertions, 1 deletions
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--;