aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-10-12 14:38:04 -0400
committerPaul Gilbert2014-10-12 14:38:04 -0400
commitf8665509481d61a1f9a408bc7ddb88f202a73ed2 (patch)
tree16474e3ea8c44c5117bbfe784d09ec5a30d28fdb /engines
parent175d027a80da9b2180e6e4fb397e5799298dfbf8 (diff)
downloadscummvm-rg350-f8665509481d61a1f9a408bc7ddb88f202a73ed2.tar.gz
scummvm-rg350-f8665509481d61a1f9a408bc7ddb88f202a73ed2.tar.bz2
scummvm-rg350-f8665509481d61a1f9a408bc7ddb88f202a73ed2.zip
MADS: Depth style 2 frames can be drawn using existing methods
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/sprites.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/sprites.cpp b/engines/mads/sprites.cpp
index cd358077b5..6cb55aaeee 100644
--- a/engines/mads/sprites.cpp
+++ b/engines/mads/sprites.cpp
@@ -262,7 +262,7 @@ void SpriteSlots::drawBackground() {
scene._backgroundSurface.copyFrom(frame, pt, spriteSlot._depth, &scene._depthSurface,
-1, false, frame->getTransparencyIndex());
} else {
- error("Unsupported depth style");
+ frame->copyTo(&scene._backgroundSurface, pt, frame->getTransparencyIndex());
}
}
}