diff options
author | Max Horn | 2009-03-07 06:56:39 +0000 |
---|---|---|
committer | Max Horn | 2009-03-07 06:56:39 +0000 |
commit | c2f08b10d2849e72f38dab7dcbedd3b9ab5a7e50 (patch) | |
tree | c71369b58811afcf2e98bd52fb842ab51e7e6bbc /engines/sci/engine/savegame.cfsml | |
parent | 4f555bf36edf3c8a1f5c804d422eabf42793ded6 (diff) | |
download | scummvm-rg350-c2f08b10d2849e72f38dab7dcbedd3b9ab5a7e50.tar.gz scummvm-rg350-c2f08b10d2849e72f38dab7dcbedd3b9ab5a7e50.tar.bz2 scummvm-rg350-c2f08b10d2849e72f38dab7dcbedd3b9ab5a7e50.zip |
SCI: More cleanup in the song iterator codebase
svn-id: r39177
Diffstat (limited to 'engines/sci/engine/savegame.cfsml')
-rw-r--r-- | engines/sci/engine/savegame.cfsml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/engine/savegame.cfsml b/engines/sci/engine/savegame.cfsml index 57eaedfebf..21e993a0fa 100644 --- a/engines/sci/engine/savegame.cfsml +++ b/engines/sci/engine/savegame.cfsml @@ -1004,8 +1004,6 @@ void reconstruct_clones(EngineState *s, SegManager *self) { int _reset_graphics_input(EngineState *s); -SongIterator *new_fast_forward_iterator(SongIterator *it, int delta); - static void reconstruct_sounds(EngineState *s) { song_t *seeker; int it_type = s->resmgr->_sciVersion >= SCI_VERSION_01 ? SCI_SONG_ITERATOR_TYPE_SCI1 : SCI_SONG_ITERATOR_TYPE_SCI0; @@ -1024,7 +1022,7 @@ static void reconstruct_sounds(EngineState *s) { base = ff = build_iterator(s, seeker->resource_num, it_type, seeker->handle); if (seeker->restore_behavior == RESTORE_BEHAVIOR_CONTINUE) - ff = (SongIterator *)new_fast_forward_iterator(base, seeker->restore_time); + ff = new_fast_forward_iterator(base, seeker->restore_time); ff->init(); msg = SongIteratorMessage(seeker->handle, SIMSG_SET_LOOPS(seeker->loops)); |