NANCY: Do not clear palette on viewport scroll

Fixed a bug where the background would go black when scrolling up
or down.
This commit is contained in:
Kaloyan Chehlarski 2023-03-11 22:54:07 +02:00
parent 4069c5e381
commit 85dcfb64d8

View File

@ -197,6 +197,7 @@ void Viewport::loadVideo(const Common::String &filename, uint frameNr, uint vert
setVerticalScroll(verticalScroll);
if (palette.size()) {
GraphicsManager::loadSurfacePalette(_fullFrame, palette);
setPalette(palette);
}