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

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

No files matched your search

+1
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).
+1 -2
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);