From d9bcf1a3bfa697c09252f14a397cd0fc610b7cfb Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Mon, 21 Nov 2011 10:24:30 +0100 Subject: SAGA: Simply use a Graphics::Surface instead of a Saga::Surface. --- engines/saga/scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/saga/scene.cpp b/engines/saga/scene.cpp index 61e62d5626..35d923f821 100644 --- a/engines/saga/scene.cpp +++ b/engines/saga/scene.cpp @@ -454,7 +454,6 @@ void Scene::changeScene(int16 sceneNumber, int actorsEntrance, SceneTransitionTy if (_vm->_hasITESceneSubstitutes) { for (int i = 0; i < ARRAYSIZE(sceneSubstitutes); i++) { if (sceneSubstitutes[i].sceneId == sceneNumber) { - Surface bbmBuffer; byte *pal, colors[768]; Common::File file; Rect rect; @@ -463,6 +462,7 @@ void Scene::changeScene(int16 sceneNumber, int actorsEntrance, SceneTransitionTy _vm->_interface->setMode(kPanelSceneSubstitute); if (file.open(sceneSubstitutes[i].image)) { + Graphics::Surface bbmBuffer; Graphics::decodePBM(file, bbmBuffer, colors); pal = colors; rect.setWidth(bbmBuffer.w); -- cgit v1.2.3