mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 23:57:32 +00:00
TSAGE: Disable saving in R2R when actors have been copied to the background
This commit is contained in:
parent
5b54a546e0
commit
e7df8b60e1
@ -2814,6 +2814,12 @@ void BackgroundSceneObject::setup2(int visage, int stripFrameNum, int frameNum,
|
||||
|
||||
void BackgroundSceneObject::copySceneToBackground() {
|
||||
GLOBALS._sceneManager._scene->_backSurface.copyFrom(g_globals->gfxManager().getSurface(), 0, 0);
|
||||
|
||||
// WORKAROUND: Since savegames don't store the active screen data, once we copy the
|
||||
// foreground objects to the background, we have to prevent the scene being saved.
|
||||
// I do this the easiest way, by using the existing animationCtr global
|
||||
if (g_vm->getGameID() == GType_Ringworld2)
|
||||
++R2_GLOBALS._animationCtr;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
Loading…
Reference in New Issue
Block a user