1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +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

@@ -54,6 +54,7 @@
- Fix: [#12297] OpenGL renderer causing artifacts.
- Fix: [#12312] Softlock when loading save file via command line fails.
- Fix: [#12486] `set-rct2` has a broken g1.dat check.
- Fix: [#12498] Circus construction ghost does not rotate (original bug).
- Fix: [#12505] Stores selling multiple items can only have the first product advertised.
- Fix: [#12506] Cannot advertise food if there are no rides in the park.
- Fix: 'j' character has broken kerning (original bug).

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);