Loading saved games in the demo version of IHNM should work now
svn-id: r28345
This commit is contained in:
parent
889d1a4aee
commit
3ee5ee2c06
2 changed files with 5 additions and 2 deletions
|
@ -276,7 +276,10 @@ void SagaEngine::load(const char *fileName) {
|
|||
_scene->setCurrentMusicTrack(in->readSint32LE());
|
||||
_scene->setCurrentMusicRepeat(in->readSint32LE());
|
||||
_music->stop();
|
||||
_music->play(_music->_songTable[_scene->getCurrentMusicTrack()], _scene->getCurrentMusicRepeat() ? MUSIC_LOOP : MUSIC_NORMAL);
|
||||
if (getGameId() != GID_IHNM_DEMO)
|
||||
_music->play(_music->_songTable[_scene->getCurrentMusicTrack()], _scene->getCurrentMusicRepeat() ? MUSIC_LOOP : MUSIC_NORMAL);
|
||||
else
|
||||
_music->play(3, MUSIC_LOOP);
|
||||
}
|
||||
|
||||
// Inset scene
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue