1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Fix flat_to_25_deg_up tunnels

This commit is contained in:
Ted John
2016-10-01 17:45:44 +01:00
parent dbb0c9db80
commit bec7713ad2

View File

@@ -299,7 +299,12 @@ static void water_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequenc
uint32 image_id = gTrackColours[SCHEME_TRACK];
image_id |= water_rc_track_pieces_flat_to_25_deg_up[isChained][direction];
sub_98196C_rotated(direction, image_id, 0, 6, 32, 20, 1, height);
paint_util_push_tunnel_rotated(direction, height, TUNNEL_0);
if (direction == 0 || direction == 3) {
paint_util_push_tunnel_rotated(direction, height, TUNNEL_0);
} else {
paint_util_push_tunnel_rotated(direction, height, TUNNEL_2);
}
if (track_paint_util_should_paint_supports(gPaintMapPosition)) {
int supportType = direction & 1 ? 2 : 1;