mirror of https://github.com/OpenRCT2/OpenRCT2.git
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:
parent
4b5119d190
commit
115f600735
|
@ -1039,7 +1039,7 @@ static void shop_paint_setup(uint8 rideIndex, uint8 trackSequence, uint8 directi
|
||||||
height16 += 48;
|
height16 += 48;
|
||||||
if (RCT2_GLOBAL(0x00141E9D8, sint16) < height16) {
|
if (RCT2_GLOBAL(0x00141E9D8, sint16) < height16) {
|
||||||
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;
|
height16 += 32;
|
||||||
if (RCT2_GLOBAL(0x00141E9D8, sint16) < height16) {
|
if (RCT2_GLOBAL(0x00141E9D8, sint16) < height16) {
|
||||||
RCT2_GLOBAL(0x00141E9D8, sint16) = height16;
|
RCT2_GLOBAL(0x00141E9D8, sint16) = height16;
|
||||||
RCT2_GLOBAL(0x00141E9DA, sint16) = 32;
|
RCT2_GLOBAL(0x00141E9DA, uint8) = 32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue