diff options
author | Johannes Schickel | 2008-04-29 14:08:08 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-04-29 14:08:08 +0000 |
commit | a55d13e0a3ee8bbb6ee24c7d8ee017c92e58b514 (patch) | |
tree | 73ddca6e8bdd4c86dac9299b991117fa5d1fa442 /engines/kyra/saveload_v3.cpp | |
parent | de1da38e901ceadc304f01b11b8b41cac077a032 (diff) | |
download | scummvm-rg350-a55d13e0a3ee8bbb6ee24c7d8ee017c92e58b514.tar.gz scummvm-rg350-a55d13e0a3ee8bbb6ee24c7d8ee017c92e58b514.tar.bz2 scummvm-rg350-a55d13e0a3ee8bbb6ee24c7d8ee017c92e58b514.zip |
- Added volume param to KyraEngine::snd_playSoundEffect (0xFF per default as in original)
- Renamed KyraEngine_v3::playSoundEffect to KyraEngine_v3::snd_playSoundEffect
- Renamed KyraEngine_v3::playMusicTrack to KyraEngine_v3::snd_playWanderScoreViaMap
- Renamed KyraEngine_v3::o3_playMusicTrack to KyraEngine_v3::o3_playWanderScoreViaMap
svn-id: r31770
Diffstat (limited to 'engines/kyra/saveload_v3.cpp')
-rw-r--r-- | engines/kyra/saveload_v3.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/saveload_v3.cpp b/engines/kyra/saveload_v3.cpp index 130f814a7f..4d975c2a67 100644 --- a/engines/kyra/saveload_v3.cpp +++ b/engines/kyra/saveload_v3.cpp @@ -126,7 +126,7 @@ void KyraEngine_v3::loadGame(const char *fileName) { Common::InSaveFile *saveFile = openSaveForReading(fileName, header); if (!saveFile) { showMessageFromCCode(17, 0xB3, 0); - playSoundEffect(0x0D, 0xC8); + snd_playSoundEffect(0x0D, 0xC8); return; } @@ -242,9 +242,9 @@ void KyraEngine_v3::loadGame(const char *fileName) { setHandItem(_itemInHand); if (_lastMusicCommand >= 0 && !_unkSceneScreenFlag1) - playMusicTrack(_lastMusicCommand, 1); + snd_playWanderScoreViaMap(_lastMusicCommand, 1); else if (_lastMusicCommand == -1) - playMusicTrack(28, 1); + snd_playWanderScoreViaMap(28, 1); while (!_screen->isMouseVisible()) _screen->showMouse(); |