CINE: Fix restoring background music when loading saved game in DOS CD version of Future Wars.

This commit is contained in:
Kirben 2016-03-01 20:06:48 +11:00
parent 806fa64d74
commit e5974027ec

View File

@ -691,6 +691,11 @@ bool CineEngine::loadPlainSaveFW(Common::SeekableReadStream &in, CineSaveGameFor
}
if (strlen(bgName)) {
if (g_cine->getGameType() == GType_FW && (g_cine->getFeatures() & GF_CD)) {
char buffer[20];
removeExtention(buffer, bgName);
g_sound->setBgMusic(atoi(buffer + 1));
}
loadBg(bgName);
}