mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-03 00:35:54 +00:00
SCI: dont load target palette when gameIsRestarting != 0
fixes sepia palette getting applied when loading in pharkas (part of bug #3051905) svn-id: r52326
This commit is contained in:
parent
efdbb076a2
commit
347accf2d7
@ -340,7 +340,8 @@ void GfxPalette::drewPicture(GuiResourceId pictureId) {
|
||||
_sysPalette.timestamp++;
|
||||
|
||||
if (_palVaryResourceId != -1) {
|
||||
palVaryLoadTargetPalette(pictureId);
|
||||
if (g_sci->getEngineState()->gameIsRestarting == 0) // only if not restored nor restarted
|
||||
palVaryLoadTargetPalette(pictureId);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user