1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 08:45:00 +01:00

Fix #12498: Circus construction ghost does not rotate (#12519)

This commit is contained in:
Michael Steenbeek
2020-07-30 20:29:26 +02:00
committed by GitHub
parent bb1d81471d
commit e03753c139
2 changed files with 2 additions and 2 deletions

View File

@@ -37,11 +37,10 @@ static void paint_circus_tent(
}
uint32_t imageColourFlags = session->TrackColours[SCHEME_MISC];
uint32_t imageId = rideEntry->vehicles[0].base_image_id;
uint32_t imageId = rideEntry->vehicles[0].base_image_id + direction;
if (imageColourFlags == IMAGE_TYPE_REMAP)
{
imageColourFlags = SPRITE_ID_PALETTE_COLOUR_2(ride->vehicle_colours[0].Body, ride->vehicle_colours[0].Trim);
imageId += direction;
}
sub_98197C(session, imageId | imageColourFlags, al, cl, 24, 24, 47, height + 3, al + 16, cl + 16, height + 3);