Skip to content

Commit

Permalink
MADS: Depth style 2 frames can be drawn using existing methods
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 12, 2014
1 parent 175d027 commit f866550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/mads/sprites.cpp
Expand Up @@ -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());
}
}
}
Expand Down

0 comments on commit f866550

Please sign in to comment.