Fix: mil minibugs relacionats amb el audio
This commit is contained in:
@@ -257,11 +257,14 @@ void Title::checkInput()
|
||||
{
|
||||
if (section::options == section::Options::TITLE_2 || ALLOW_TITLE_ANIMATION_SKIP)
|
||||
{
|
||||
fade_->activate();
|
||||
JA_FadeOutMusic(1500);
|
||||
JA_PlaySound(Resource::get()->getSound("game_start.wav"));
|
||||
post_fade_ = controller.player_id;
|
||||
return;
|
||||
if (!fade_->isEnabled())
|
||||
{
|
||||
JA_PlaySound(Resource::get()->getSound("game_start.wav"));
|
||||
JA_FadeOutMusic(1500);
|
||||
fade_->activate();
|
||||
post_fade_ = controller.player_id;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user