From a5ab1cd293e417f4c28dd6f9ee395ad0ac9f3447 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 27 Nov 2017 21:19:54 +0100 Subject: FULLPIPE: Attempt to crash when calling paletteless scenes --- engines/fullpipe/scene.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/fullpipe') 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; } -- cgit v1.2.3