1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 18:25:16 +01:00

Fix #3561: Tunnels drawn incorrectly

This commit is contained in:
Marijn van der Werf
2016-10-19 22:45:19 +02:00
committed by Ted John
parent dd377bcfc1
commit f2033b0d93

View File

@@ -609,6 +609,8 @@ static void viewport_surface_draw_land_side_bottom(enum edge edge, uint8 height,
}
}
regs.ah = regs.cl;
while (true) {
if (curHeight >= regs.al || curHeight >= regs.cl) {
// If top of edge isn't straight, add a filler
@@ -879,6 +881,8 @@ static void viewport_surface_draw_water_side_bottom(enum edge edge, uint8 height
}
}
regs.ah = regs.cl;
while (true) {
if (curHeight >= regs.al || curHeight >= regs.cl) {
// If top of edge isn't straight, add a filler