mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #18094: Invisible underground shops/facilities
Underground shops and facilities placed right next to non-underground path would be connected to the path, but the buildings themselves would remain invisible. Guests could use them though. This has been fixed by drawing a tunnel, which is the same way ride entrances/exits are drawn.
This commit is contained in:
parent
a45f898c7e
commit
94e8e9ea6b
|
@ -5,6 +5,7 @@
|
|||
- Fix: [#17853] Invention name tears while being dragged.
|
||||
- Fix: [#18064] Unable to dismiss notification messages.
|
||||
- Fix: [#18070] Underground entrance/exit shows through terrain walls (original bug).
|
||||
- Fix: [#18094] Underground shops & facilities don't show when adjacent to non-underground path (original bug).
|
||||
- Fix: [#18122] Ghosts count towards “Great scenery!” guest thought.
|
||||
- Fix: [#18134] Underground on-ride photo section partially clips through adjacent terrain edge.
|
||||
- Fix: [#18257] Guests ‘waiting’ on extended railway crossings.
|
||||
|
|
|
@ -65,6 +65,8 @@ static void PaintFacility(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(session, SEGMENTS_ALL, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32, 0x20);
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
|
||||
/* 0x00762D44 */
|
||||
|
|
|
@ -52,6 +52,8 @@ static void PaintShop(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(session, SEGMENTS_ALL, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 48, 0x20);
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION get_track_paint_function_shop(int32_t trackType)
|
||||
|
|
Loading…
Reference in New Issue