[Scummvm-cvs-logs] scummvm master -> f8665509481d61a1f9a408bc7ddb88f202a73ed2

dreammaster dreammaster at scummvm.org
Sun Oct 12 20:39:16 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f866550948 MADS: Depth style 2 frames can be drawn using existing methods


Commit: f8665509481d61a1f9a408bc7ddb88f202a73ed2
    https://github.com/scummvm/scummvm/commit/f8665509481d61a1f9a408bc7ddb88f202a73ed2
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-10-12T14:38:04-04:00

Commit Message:
MADS: Depth style 2 frames can be drawn using existing methods

Changed paths:
    engines/mads/sprites.cpp



diff --git a/engines/mads/sprites.cpp b/engines/mads/sprites.cpp
index cd35807..6cb55aa 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());
 				}
 			}
 		}






More information about the Scummvm-git-logs mailing list