diff options
author | Sven Hesse | 2014-05-28 23:25:49 +0200 |
---|---|---|
committer | Sven Hesse | 2014-05-28 23:25:49 +0200 |
commit | 2168d43d5d8c66cc4316e2bd0450ef108b27fda5 (patch) | |
tree | 52e2c7918e5daae268e72fa3e75c6cbc23d50a9d /engines/mads/msurface.cpp | |
parent | f8b08874c4819d85d493f42081a336326bff1035 (diff) | |
download | scummvm-rg350-2168d43d5d8c66cc4316e2bd0450ef108b27fda5.tar.gz scummvm-rg350-2168d43d5d8c66cc4316e2bd0450ef108b27fda5.tar.bz2 scummvm-rg350-2168d43d5d8c66cc4316e2bd0450ef108b27fda5.zip |
MADS: Janitorial - Trim more trailing whitespace
Diffstat (limited to 'engines/mads/msurface.cpp')
-rw-r--r-- | engines/mads/msurface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |