diff options
-rw-r--r-- | engines/scumm/smush/smush_player.cpp | 16 | ||||
-rw-r--r-- | engines/scumm/smush/smush_player.h | 2 |
2 files changed, 1 insertions, 17 deletions
diff --git a/engines/scumm/smush/smush_player.cpp b/engines/scumm/smush/smush_player.cpp index 6980274592..0e85b6c8b6 100644 --- a/engines/scumm/smush/smush_player.cpp +++ b/engines/scumm/smush/smush_player.cpp @@ -405,16 +405,6 @@ void SmushPlayer::handleSoundFrame(Chunk &b) { handleSoundBuffer(track_id, index, max_frames, flags, vol, pan, b, size); } -void SmushPlayer::handleSkip(Chunk &b) { - checkBlock(b, TYPE_SKIP, 4); - int32 code = b.getDword(); - debugC(DEBUG_SMUSH, "SmushPlayer::handleSkip(%d)", code); - if (code >= 0 && code < 37) - _skipNext = _skips[code]; - else - _skipNext = true; -} - void SmushPlayer::handleStore(Chunk &b) { debugC(DEBUG_SMUSH, "SmushPlayer::handleStore()"); checkBlock(b, TYPE_STOR, 4); @@ -991,11 +981,7 @@ void SmushPlayer::handleFrame(Chunk &b) { handleFetch(*sub); break; case TYPE_SKIP: - if (_insanity) - _vm->_insane->procSKIP(*sub); - else - handleSkip(*sub); - break; + _vm->_insane->procSKIP(*sub); case TYPE_TEXT: handleTextResource(*sub); break; diff --git a/engines/scumm/smush/smush_player.h b/engines/scumm/smush/smush_player.h index 3b22a41b4e..455f1414b9 100644 --- a/engines/scumm/smush/smush_player.h +++ b/engines/scumm/smush/smush_player.h @@ -57,7 +57,6 @@ private: int32 _seekFrame; bool _skipNext; - bool _skips[37]; int32 _frame; Audio::SoundHandle _IACTchannel; @@ -133,7 +132,6 @@ private: void handleFrameObject(Chunk &); void handleSoundBuffer(int32, int32, int32, int32, int32, int32, Chunk &, int32); void handleSoundFrame(Chunk &); - void handleSkip(Chunk &); void handleStore(Chunk &); void handleFetch(Chunk &); void handleIACT(Chunk &); |