1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Fix #4296. Metal A supports correctly branch

This commit is contained in:
duncanspumpkin
2016-09-03 09:31:00 +01:00
parent c702fc51d4
commit 22cec6d1f5

View File

@@ -497,6 +497,7 @@ bool metal_a_supports_paint_setup(int supportType, int segment, int special, int
}
sint16 originalHeight = height;
int originalSegment = segment;
const uint8 rotation = get_current_rotation();
RCT2_GLOBAL(0x009E3294, sint16) = -1;
@@ -619,6 +620,7 @@ bool metal_a_supports_paint_setup(int supportType, int segment, int special, int
gSupportSegments[segment].slope = 0x20;
height = originalHeight;
segment = originalSegment;
if (special == 0)
return true;