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

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2020-04-18 18:19:01 +02:00
1 parent e2be89648e
commit 20a0cea903
1 file changed
+1 -1
+1 -1
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];