1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 08:12:53 +01:00

Draw coaster holes

This commit is contained in:
Marijn van der Werf
2016-04-20 19:57:19 +02:00
parent 31f7f28981
commit 323ebc4f74

View File

@@ -1939,10 +1939,13 @@ void viewport_surface_paint_setup(uint8 direction, uint16 height, rct_map_elemen
//push ebx + ecx + esi
uint16 di = RCT2_GLOBAL(0x9E323C, uint16);
uint16 di = RCT2_GLOBAL(0x9E323C, uint8);
if (di * 16 == height) {
// loc_660B25:
assert(false);
sub_98197C(1575, 0, 0, 1, 30, 39, height, -2, 1, height - 40, get_current_rotation());
sub_98197C(1576, 0, 0, 30, 1, 0, height, 1, 31, height, get_current_rotation());
sub_98197C(1577, 0, 0, 1, 30, 0, height, 31, 1, height, get_current_rotation());
sub_98197C(1578, 0, 0, 30, 1, 39, height, 1, -2, height - 40, get_current_rotation());
RCT2_GLOBAL(0x9E329A, uint8) = 0;
} else {
registers regs;