Fix 937d60f2: Broken company colours for 40bpp-blitter. (#8821)

This commit is contained in:
Michael Lutz 2021-03-08 15:43:08 +01:00 committed by GitHub
parent b93d7dd3cb
commit ae1f7bd695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -356,6 +356,10 @@ template <bool Tpal_to_rgb> Sprite *Blitter_32bppOptimized::EncodeInternal(const
dst_px->r = colour.r;
dst_px->g = colour.g;
dst_px->b = colour.b;
} else {
dst_px->r = src->r;
dst_px->g = src->g;
dst_px->b = src->b;
}
} else {
dst_px->r = src->r;