1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 14:02:59 +01:00

fix tunnels for 25_deg_up

This commit is contained in:
Ted John
2016-09-24 15:39:43 +01:00
parent a715d27caa
commit 90d512683b

View File

@@ -282,7 +282,7 @@ static void water_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8
sint8 tunnel_height[4] = { -8, 8, 8, -8 };
uint8 tunnel_type[4] = { TUNNEL_1, TUNNEL_2, TUNNEL_2, TUNNEL_1 };
sub_98196C_rotated(direction, image_id, 0, 6, 32, 20, 1, height);
paint_util_push_tunnel_left(height + tunnel_height[direction], tunnel_type[direction]);
paint_util_push_tunnel_rotated(direction, height + tunnel_height[direction], tunnel_type[direction]);
if (track_paint_util_should_paint_supports(gPaintMapPosition)) {
int supportType = direction & 1 ? 2 : 1;