aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mallon2011-11-21 10:24:30 +0100
committerAlyssa Milburn2011-11-21 15:59:00 +0100
commitd9bcf1a3bfa697c09252f14a397cd0fc610b7cfb (patch)
tree22167eca939b794a312becc82f3ed51a0e909969
parentd485b36b4591ed58c77bccbabaa84c2ea3b78526 (diff)
downloadscummvm-rg350-d9bcf1a3bfa697c09252f14a397cd0fc610b7cfb.tar.gz
scummvm-rg350-d9bcf1a3bfa697c09252f14a397cd0fc610b7cfb.tar.bz2
scummvm-rg350-d9bcf1a3bfa697c09252f14a397cd0fc610b7cfb.zip
SAGA: Simply use a Graphics::Surface instead of a Saga::Surface.
-rw-r--r--engines/saga/scene.cpp2
1 files changed, 1 insertions, 1 deletions
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);