EMI: Update _curMusicState also when state 0 is requested.

This commit is contained in:
Joni Vähämäki 2014-07-18 15:51:44 +03:00
parent 358e840817
commit f733939a38

View File

@ -240,8 +240,10 @@ void EMISound::setMusicState(int stateId) {
_musicChannel = -1;
fadeMusicIn = true;
}
if (stateId == 0)
if (stateId == 0) {
_curMusicState = 0;
return;
}
if (_musicTable == nullptr) {
Debug::debug(Debug::Sound, "No music table loaded");
return;