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:
committed by
Ted John
parent
dd377bcfc1
commit
f2033b0d93
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user