mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 20:43:04 +01:00
Fix #2942. Stacked shops now show correct supports.
Issue was caused by overwriting the variable that is used as a flag to disable supports.
This commit is contained in:
@@ -1039,7 +1039,7 @@ static void shop_paint_setup(uint8 rideIndex, uint8 trackSequence, uint8 directi
|
||||
height16 += 48;
|
||||
if (RCT2_GLOBAL(0x00141E9D8, sint16) < height16) {
|
||||
RCT2_GLOBAL(0x00141E9D8, sint16) = height16;
|
||||
RCT2_GLOBAL(0x00141E9DA, sint16) = 32;
|
||||
RCT2_GLOBAL(0x00141E9DA, uint8) = 32;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1127,7 +1127,7 @@ static void facility_paint_setup(uint8 rideIndex, uint8 trackSequence, uint8 dir
|
||||
height16 += 32;
|
||||
if (RCT2_GLOBAL(0x00141E9D8, sint16) < height16) {
|
||||
RCT2_GLOBAL(0x00141E9D8, sint16) = height16;
|
||||
RCT2_GLOBAL(0x00141E9DA, sint16) = 32;
|
||||
RCT2_GLOBAL(0x00141E9DA, uint8) = 32;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user