1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Fix #11325: Space rings change colours and show incorrect sprites (#11338)

This commit is contained in:
Michael Steenbeek
2020-04-18 18:19:01 +02:00
committed by GitHub
parent e2be89648e
commit 20a0cea903

View File

@@ -51,7 +51,7 @@ static void paint_space_rings_structure(paint_session* session, Ride* ride, uint
session->InteractionType = VIEWPORT_INTERACTION_ITEM_SPRITE;
vehicle = GET_VEHICLE(ride->vehicles[vehicleIndex]);
session->CurrentlyDrawnItem = vehicle;
frameNum += static_cast<int8_t>(vehicle->vehicle_sprite_type * 4);
frameNum += static_cast<int8_t>(vehicle->vehicle_sprite_type) * 4;
}
uint32_t imageColourFlags = session->TrackColours[SCHEME_MISC];