This commit is contained in:
parent
ec407d5e44
commit
0235bb84f5
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user