diff --git a/source/backend/party.cpp b/source/backend/party.cpp index 0c8d58031..0f06dece4 100644 --- a/source/backend/party.cpp +++ b/source/backend/party.cpp @@ -66,6 +66,10 @@ #include "utils\mathtab.h" #endif +#ifndef __SOUND_SOUND_H__ +#include "sound\sound.h" +#endif + /* Std Lib ------- */ @@ -138,6 +142,9 @@ void CPartyScene::init() CActorPool::CleanUpCache(); s_leftBobSin=s_leftBob=s_rightBobSin=s_rightBob=0; + + CSoundMediator::setSong(CSoundMediator::SONG_PARTY); + CSoundMediator::playSong(); } @@ -149,6 +156,8 @@ void CPartyScene::init() ---------------------------------------------------------------------- */ void CPartyScene::shutdown() { + CSoundMediator::dumpSong(); + delete m_actorPatrick; delete m_actorSpongebob; CActorPool::Reset(); diff --git a/source/shop/shop.cpp b/source/shop/shop.cpp index 12217926c..f66d1579b 100644 --- a/source/shop/shop.cpp +++ b/source/shop/shop.cpp @@ -208,6 +208,9 @@ void CShopScene::init() m_pointerIcon=new ("MapPointer") CPointerIcon(); m_pointerIcon->snapToTarget(getPointerTarget()); + + CSoundMediator::setSong(CSoundMediator::SONG_SHOPSCREEN); + CSoundMediator::playSong(); } @@ -219,6 +222,8 @@ void CShopScene::init() ---------------------------------------------------------------------- */ void CShopScene::shutdown() { + CSoundMediator::dumpSong(); + delete m_pointerIcon; m_guiCannotAffordFrame->shutdown();