diff options
author | Filippos Karapetis | 2007-08-27 09:30:23 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-08-27 09:30:23 +0000 |
commit | 4e5d81973242c5f8e3040a57bebd6952106a658c (patch) | |
tree | a53d8ed9c01dd74cb6c1a93fa2a622a88bcbff60 /engines/saga/sfuncs.cpp | |
parent | 30148e505d6f3603e3da03762fbcc3b8124a9381 (diff) | |
download | scummvm-rg350-4e5d81973242c5f8e3040a57bebd6952106a658c.tar.gz scummvm-rg350-4e5d81973242c5f8e3040a57bebd6952106a658c.tar.bz2 scummvm-rg350-4e5d81973242c5f8e3040a57bebd6952106a658c.zip |
IHNM's ending is shown correctly now (but the credits still aren't). Slight update on the music of chapter 6
svn-id: r28753
Diffstat (limited to 'engines/saga/sfuncs.cpp')
-rw-r--r-- | engines/saga/sfuncs.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index 6ab643e03b..01b54e7aaf 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -1676,14 +1676,6 @@ void Script::sfPlayMusic(SCRIPTFUNC_PARAMS) { warning("sfPlayMusic: Wrong song number (%d > %d)", param1, _vm->_music->_songTableLen - 1); } else { _vm->_music->setVolume(_vm->_musicVolume == 10 ? -1 : _vm->_musicVolume * 25, 1); - // HACK for chapter 6 (last chapter) in IHNM. For some reason, the songtable loaded is - // incorrect, and the game crashes here when trying to load a music track there. For now, - // just don't change the music track for chapter 6 - // FIXME: Figure out what's wrong with the loaded music track and remove this hack - // Note that when this hack is removed, remove it from SagaEngine::load and - // Script::sfQueueMusic as well - if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 6) - return; _vm->_music->play(_vm->_music->_songTable[param1], param2 ? MUSIC_LOOP : MUSIC_NORMAL); if (!_vm->_scene->haveChapterPointsChanged()) { _vm->_scene->setCurrentMusicTrack(param1); @@ -2150,15 +2142,6 @@ void Script::sfQueueMusic(SCRIPTFUNC_PARAMS) { return; } - // HACK for chapter 6 (last chapter) in IHNM. For some reason, the songtable loaded is - // incorrect, and the game crashes here when trying to load a music track there. For now, - // just don't change the music track for chapter 6 - // FIXME: Figure out what's wrong with the loaded music track and remove this hack - // Note that when this hack is removed, remove it from SagaEngine::load and - // Script::sfPlayMusic as well - if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 6) - return; - if (param1 >= _vm->_music->_songTableLen) { warning("sfQueueMusic: Wrong song number (%d > %d)", param1, _vm->_music->_songTableLen - 1); } else { |