Fix fading in and out when switching to fast music

This commit is contained in:
Benau 2019-10-11 19:21:58 +08:00
parent 3c4479b63a
commit a1e4bbc3c1

View File

@ -254,6 +254,8 @@ void MusicInformation::update(float dt)
float fraction=m_time_since_faster/m_faster_time;
m_normal_music->setVolume(1-fraction);
m_fast_music->setVolume(fraction);
m_normal_music->update();
m_fast_music->update();
break;
}
case SOUND_FASTER: {