|
@@ -105,11 +105,9 @@ void BattleInterface::playIntroSoundAndUnlockInterface()
|
|
|
{
|
|
{
|
|
|
auto onIntroPlayed = [this]()
|
|
auto onIntroPlayed = [this]()
|
|
|
{
|
|
{
|
|
|
|
|
+ boost::unique_lock<boost::recursive_mutex> un(*CPlayerInterface::pim);
|
|
|
if(LOCPLINT->battleInt)
|
|
if(LOCPLINT->battleInt)
|
|
|
- {
|
|
|
|
|
- boost::unique_lock<boost::recursive_mutex> un(*CPlayerInterface::pim);
|
|
|
|
|
onIntroSoundPlayed();
|
|
onIntroSoundPlayed();
|
|
|
- }
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
int battleIntroSoundChannel = CCS->soundh->playSoundFromSet(CCS->soundh->battleIntroSounds);
|
|
int battleIntroSoundChannel = CCS->soundh->playSoundFromSet(CCS->soundh->battleIntroSounds);
|