summaryrefslogtreecommitdiff
path: root/src/koopatlas
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-12-08 06:47:53 +0100
committerTreeki <treeki@gmail.com>2012-12-08 06:47:53 +0100
commit3e1eddbcca15042a7a63f29f5db3ce66237355b9 (patch)
treec71c3479d714df558e333f4120133b1c6c0aa9e6 /src/koopatlas
parente7801309b3862b052e6cb43946fea889cd297cd9 (diff)
downloadkamek-3e1eddbcca15042a7a63f29f5db3ce66237355b9.tar.gz
kamek-3e1eddbcca15042a7a63f29f5db3ce66237355b9.zip
assorted updates and fixes
Diffstat (limited to 'src/koopatlas')
-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--;