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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user