aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/script_s1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/script_s1.cpp')
-rw-r--r--engines/agos/script_s1.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/engines/agos/script_s1.cpp b/engines/agos/script_s1.cpp
index a8015f923e..ca0be02f4b 100644
--- a/engines/agos/script_s1.cpp
+++ b/engines/agos/script_s1.cpp
@@ -88,19 +88,10 @@ void AGOSEngine::os1_animate() {
}
void AGOSEngine::os1_playTune() {
- // 127: deals with music
+ // 127: play tune
int music = getVarOrWord();
int track = getVarOrWord();
- // Jamieson630:
- // This appears to be a "load or play music" command.
- // The music resource is specified, and optionally
- // a track as well. Normally we see two calls being
- // made, one to load the resource and another to
- // actually start a track (so the resource is
- // effectively preloaded so there's no latency when
- // starting playback).
-
if (music != _lastMusicPlayed) {
_lastMusicPlayed = music;
loadMusic(music);