GOB: Don't clobber the global palette
svn-id: r55270
This commit is contained in:
parent
199b5d06af
commit
68ebdf20d5
1 changed files with 1 additions and 1 deletions
|
@ -753,7 +753,7 @@ Graphics::CoktelDecoder *VideoPlayer::openVideo(const Common::String &file, Prop
|
|||
}
|
||||
|
||||
void VideoPlayer::copyPalette(const Video &video, int16 palStart, int16 palEnd) {
|
||||
if (!video.decoder->hasPalette())
|
||||
if (!video.decoder->hasPalette() || !video.decoder->isPaletted())
|
||||
return;
|
||||
|
||||
if (palStart < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue