From 9fddfdeccf78074ae0bd67cb762ed1bb8edaa6c8 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 19 May 2022 00:09:39 +0100 Subject: [PATCH] Fix viewport map scrolling box blend over vehicles on animated blitters --- src/vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 89c5014758..a6446748b0 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -1951,7 +1951,7 @@ void ViewportMapDrawVehicles(DrawPixelInfo *dpi, Viewport *vp) for (int y = dt; y < db; y++, y_ptr += vp->width) { for (int x = dl; x < dr; x++) { if (vp->map_draw_vehicles_cache.vehicle_pixels[y_ptr + x]) { - blitter->SetPixel(dpi->dst_ptr, x - dl, y - dt, PC_WHITE); + blitter->SetPixel32(dpi->dst_ptr, x - dl, y - dt, PC_WHITE, Colour(0xFC, 0xFC, 0xFC).data); } } }