From 2168d43d5d8c66cc4316e2bd0450ef108b27fda5 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Wed, 28 May 2014 23:25:49 +0200 Subject: MADS: Janitorial - Trim more trailing whitespace --- engines/mads/msurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mads/msurface.cpp') diff --git a/engines/mads/msurface.cpp b/engines/mads/msurface.cpp index 6d74fefaab..39c7808560 100644 --- a/engines/mads/msurface.cpp +++ b/engines/mads/msurface.cpp @@ -407,7 +407,7 @@ void MSurface::copyFrom(MSurface *src, const Common::Point &destPos, int depth, Common::Point pt((destP - (byte *)this->pixels) % this->pitch, (destP - (byte *)this->pixels) / this->pitch); int pixelDepth = (depthSurface == nullptr) ? 15 : depthSurface->getDepth(pt); - + if ((*srcP != transparentColor) && (depth <= pixelDepth)) *destP = *srcP; -- cgit v1.2.3