aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMax Horn2009-03-06 07:25:37 +0000
committerMax Horn2009-03-06 07:25:37 +0000
commit018d19e0204c874a6198fdfe513595c0cf5ac619 (patch)
tree15ffc5e9cf4180e38f84be308c38979ac76ee3f3 /engines/sci/engine
parent24dac898fe9596ee5d0b3fc5c563694c6e4f8657 (diff)
downloadscummvm-rg350-018d19e0204c874a6198fdfe513595c0cf5ac619.tar.gz
scummvm-rg350-018d19e0204c874a6198fdfe513595c0cf5ac619.tar.bz2
scummvm-rg350-018d19e0204c874a6198fdfe513595c0cf5ac619.zip
SCI: Some cleanup to the SongIteratorMessage code
svn-id: r39151
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/savegame.cfsml4
-rw-r--r--engines/sci/engine/savegame.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/savegame.cfsml b/engines/sci/engine/savegame.cfsml
index bd62cd9924..289d43eb1f 100644
--- a/engines/sci/engine/savegame.cfsml
+++ b/engines/sci/engine/savegame.cfsml
@@ -1026,9 +1026,9 @@ static void reconstruct_sounds(EngineState *s) {
ff = (SongIterator *)new_fast_forward_iterator(base, seeker->restore_time);
ff->init(ff);
- msg = songit_make_message(seeker->handle, SIMSG_SET_LOOPS(seeker->loops));
+ msg = SongIteratorMessage(seeker->handle, SIMSG_SET_LOOPS(seeker->loops));
songit_handle_message(&ff, msg);
- msg = songit_make_message(seeker->handle, SIMSG_SET_HOLD(seeker->hold));
+ msg = SongIteratorMessage(seeker->handle, SIMSG_SET_HOLD(seeker->hold));
songit_handle_message(&ff, msg);
oldstatus = seeker->status;
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 085655b57f..e2a59d1d45 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -5122,9 +5122,9 @@ static void reconstruct_sounds(EngineState *s) {
ff = (SongIterator *)new_fast_forward_iterator(base, seeker->restore_time);
ff->init(ff);
- msg = songit_make_message(seeker->handle, SIMSG_SET_LOOPS(seeker->loops));
+ msg = SongIteratorMessage(seeker->handle, SIMSG_SET_LOOPS(seeker->loops));
songit_handle_message(&ff, msg);
- msg = songit_make_message(seeker->handle, SIMSG_SET_HOLD(seeker->hold));
+ msg = SongIteratorMessage(seeker->handle, SIMSG_SET_HOLD(seeker->hold));
songit_handle_message(&ff, msg);
oldstatus = seeker->status;