diff options
author | Dmitry Iskrich | 2016-06-27 21:11:26 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 825a9fb29f39226a6be0f66ed0253ebafa8b143f (patch) | |
tree | a884111154ca790088f092c152c56e5129e748ad /engines/director/score.cpp | |
parent | 840487d2ef1aa50748e526bd70dc2b7a3677d7eb (diff) | |
download | scummvm-rg350-825a9fb29f39226a6be0f66ed0253ebafa8b143f.tar.gz scummvm-rg350-825a9fb29f39226a6be0f66ed0253ebafa8b143f.tar.bz2 scummvm-rg350-825a9fb29f39226a6be0f66ed0253ebafa8b143f.zip |
DIRECTOR: Load shared casts in engine
Diffstat (limited to 'engines/director/score.cpp')
-rw-r--r-- | engines/director/score.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp index 5b05ed67fe..285577d478 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -67,7 +67,6 @@ void Score::loadArchive() { if (clutList.size() == 0) error("CLUT not found"); - Common::SeekableSubReadStreamEndian *pal = _movieArchive->getResource(MKTAG('C', 'L', 'U', 'T'), clutList[0]); loadPalette(*pal); @@ -194,7 +193,6 @@ void Score::readVersion(uint32 rid) { void Score::loadCastData(Common::SeekableSubReadStreamEndian &stream) { for (uint16 id = _castArrayStart; id <= _castArrayEnd; id++) { byte size = stream.readByte(); - if (size == 0) continue; @@ -441,6 +439,7 @@ void Score::goToNext() { //the playback head goes to frame 1, (Director frame array start from 1, engine from 0) _currentFrame = 0; } + void Score::goToPrevious() { //One label if (_labels.begin() == _labels.end()) { |