aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-11-27 21:19:54 +0100
committerEugene Sandulenko2017-11-27 21:20:24 +0100
commita5ab1cd293e417f4c28dd6f9ee395ad0ac9f3447 (patch)
tree6d38579cb6e7211603848f05d746a2a5768d37d5
parent07cdce951d7641b3cc9fdc74dd0ae63c00632b06 (diff)
downloadscummvm-rg350-a5ab1cd293e417f4c28dd6f9ee395ad0ac9f3447.tar.gz
scummvm-rg350-a5ab1cd293e417f4c28dd6f9ee395ad0ac9f3447.tar.bz2
scummvm-rg350-a5ab1cd293e417f4c28dd6f9ee395ad0ac9f3447.zip
FULLPIPE: Attempt to crash when calling paletteless scenes
-rw-r--r--engines/fullpipe/scene.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/fullpipe/scene.cpp b/engines/fullpipe/scene.cpp
index d4da322b40..7018dd91b3 100644
--- a/engines/fullpipe/scene.cpp
+++ b/engines/fullpipe/scene.cpp
@@ -125,6 +125,8 @@ Scene::~Scene() {
_staticANIObjectList1.clear();
+ g_fp->_globalPalette = &g_fp->_defaultPalette;
+
// delete _field_BC;
}