mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix wrong vertical tunnel offsets
This commit is contained in:
parent
2ffbbe0678
commit
2c6100afcb
|
@ -3062,7 +3062,7 @@ void bolliger_mabillard_track_60_deg_up_to_90_deg_up(uint8 rideIndex, uint8 trac
|
|||
if (direction == 0 || direction == 3) {
|
||||
paint_util_push_tunnel_rotated(direction, height - 8, TUNNEL_7);
|
||||
}
|
||||
paint_util_set_vertical_tunnel(height + 48);
|
||||
paint_util_set_vertical_tunnel(height + 56);
|
||||
paint_util_set_segment_support_height(paint_util_rotate_segments(SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
break;
|
||||
|
|
|
@ -3526,7 +3526,7 @@ static void compact_inverted_rc_track_60_deg_up_to_90_deg_up(uint8 rideIndex, ui
|
|||
if (direction == 0 || direction == 3) {
|
||||
paint_util_push_tunnel_rotated(direction, height - 8, TUNNEL_4);
|
||||
}
|
||||
paint_util_set_vertical_tunnel(height + 48);
|
||||
paint_util_set_vertical_tunnel(height + 56);
|
||||
paint_util_set_segment_support_height(paint_util_rotate_segments(SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
break;
|
||||
|
|
|
@ -371,7 +371,7 @@ static void inverted_impulse_rc_track_60_deg_up_to_90_deg_up(uint8 rideIndex, ui
|
|||
if (direction == 0 || direction == 3) {
|
||||
paint_util_push_tunnel_rotated(direction, height - 8, TUNNEL_4);
|
||||
}
|
||||
paint_util_set_vertical_tunnel(height + 48);
|
||||
paint_util_set_vertical_tunnel(height + 56);
|
||||
paint_util_set_segment_support_height(paint_util_rotate_segments(SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
break;
|
||||
|
|
|
@ -971,7 +971,7 @@ static void lim_launched_rc_track_60_deg_up_to_90_deg_up(uint8 rideIndex, uint8
|
|||
if (direction == 0 || direction == 3) {
|
||||
paint_util_push_tunnel_rotated(direction, height - 8, TUNNEL_1);
|
||||
}
|
||||
paint_util_set_vertical_tunnel(height + 48);
|
||||
paint_util_set_vertical_tunnel(height + 56);
|
||||
paint_util_set_segment_support_height(paint_util_rotate_segments(SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
break;
|
||||
|
|
|
@ -4182,7 +4182,7 @@ static void multi_dimension_rc_track_60_deg_up_to_90_deg_up(uint8 rideIndex, uin
|
|||
if (direction == 0 || direction == 3) {
|
||||
paint_util_push_tunnel_rotated(direction, height - 8, TUNNEL_7);
|
||||
}
|
||||
paint_util_set_vertical_tunnel(height + 48);
|
||||
paint_util_set_vertical_tunnel(height + 56);
|
||||
paint_util_set_segment_support_height(paint_util_rotate_segments(SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue