1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 01:49:10 +00:00

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

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;