diff options
-rw-r--r-- | engines/sword25/gfx/image/renderedimage.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sword25/gfx/image/renderedimage.cpp b/engines/sword25/gfx/image/renderedimage.cpp index 5ba31c4835..e6afffe3b0 100644 --- a/engines/sword25/gfx/image/renderedimage.cpp +++ b/engines/sword25/gfx/image/renderedimage.cpp @@ -275,6 +275,10 @@ bool RenderedImage::blit(int posX, int posY, int flipping, Common::Rect *pPartRe int a = in[3]; in += inStep; + if (ca != 255) { + a = a * ca >> 8; + } + switch (a) { case 0: // Full transparency out += 4; |