aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene_data.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-29 21:35:59 -0400
committerPaul Gilbert2014-05-29 21:35:59 -0400
commit06387c25d8e908f174d081769b94dd0625e00b58 (patch)
treee1dedb811efc2f74162c6f4cc37a8d182a1ae842 /engines/mads/scene_data.cpp
parentd36155247f37de6fdc07dbe59c395c3b1c2d2d2c (diff)
downloadscummvm-rg350-06387c25d8e908f174d081769b94dd0625e00b58.tar.gz
scummvm-rg350-06387c25d8e908f174d081769b94dd0625e00b58.tar.bz2
scummvm-rg350-06387c25d8e908f174d081769b94dd0625e00b58.zip
MADS: Fix positioning of teleporter window backgrounds
Diffstat (limited to 'engines/mads/scene_data.cpp')
-rw-r--r--engines/mads/scene_data.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/scene_data.cpp b/engines/mads/scene_data.cpp
index de75b04457..d53a668fd3 100644
--- a/engines/mads/scene_data.cpp
+++ b/engines/mads/scene_data.cpp
@@ -265,13 +265,13 @@ void SceneInfo::load(int sceneId, int variant, const Common::String &resName,
assert(asset && _depthStyle != 2);
MSprite *spr = asset->getFrame(asset->getCount() - 1);
- bgSurface.copyFrom(spr, si._position, si._depth, &depthSurface, si._scale,
- spr->getTransparencyIndex());
+ bgSurface.copyFromScaled(spr, si._position, si._depth, &depthSurface,
+ si._scale, spr->getTransparencyIndex());
}
// Free the sprite sets
for (int i = (int)spriteSets.size() - 1; i >= 0; --i) {
- warning("TODO: sub_201C8 SPRITE_SET.field_6");
+ _vm->_palette->_paletteUsage.resetPalFlags(spriteSets[i]->_usageIndex);
delete spriteSets[i];
}
}