diff options
author | Treeki <treeki@gmail.com> | 2012-10-23 18:25:09 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-10-23 18:25:09 +0200 |
commit | b0cfb5363c39a30eb4daf34e6dd162ed717541d4 (patch) | |
tree | abc7c4e3dd299b9ee22e853ef7013b536e9d1692 /src/koopatlas/pathmanager.cpp | |
parent | 20aa16033547f5a1f0b5032f0c17acf32cbbc7f5 (diff) | |
download | kamek-b0cfb5363c39a30eb4daf34e6dd162ed717541d4.tar.gz kamek-b0cfb5363c39a30eb4daf34e6dd162ed717541d4.zip |
yay fading
Diffstat (limited to 'src/koopatlas/pathmanager.cpp')
-rw-r--r-- | src/koopatlas/pathmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp index 6b28d66..87725bd 100644 --- a/src/koopatlas/pathmanager.cpp +++ b/src/koopatlas/pathmanager.cpp @@ -777,6 +777,11 @@ void dWMPathManager_c::activatePoint() { isEnteringLevel = true; levelStartWait = 40; enteredLevel = dLevelInfo_c::s_info.searchBySlot(w, l); + + if (dScKoopatlas_c::instance->bgm.Exists()) { + dScKoopatlas_c::instance->bgm.Stop(50); + dScKoopatlas_c::instance->bgm.DetachSound(); + } } } |