mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-01 11:15:13 +01:00
Fix #18711: Underground park entrance sides can cause glitching
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
- Fix: [#16357] Chairlift station covers draw incorrectly.
|
||||
- Fix: [#16657] Mine Ride right S-bend uses Mini Roller Coaster sprite (original bug).
|
||||
- Fix: [#18436] Scenery on the same tile as steep to vertical track can draw over the track (original bug).
|
||||
- Fix: [#18711] Park entrances with their sides underground can cause glitching.
|
||||
- Fix: [#21768] Dirty blocks debug overlay is rendered incorrectly on high DPI screens.
|
||||
- Fix: [#22229] Opening a park save file from a newer version of OpenRCT2 yields an unhelpful error message.
|
||||
- Fix: [#22617] Sloped Wooden and Side-Friction supports draw out of order when built directly above diagonal track pieces (original bug).
|
||||
|
||||
@@ -323,9 +323,8 @@ static void PaintParkEntrance(PaintSession& session, uint8_t direction, int32_t
|
||||
if (entrance != nullptr)
|
||||
{
|
||||
auto imageIndex = entrance->GetImage(sequence, direction);
|
||||
auto y = ((direction / 2 + sequence / 2) & 1) ? 26 : 32;
|
||||
PaintAddImageAsParent(
|
||||
session, imageTemplate.WithIndex(imageIndex), { 0, 0, height }, { { 3, 3, height }, { 26, y, 79 } });
|
||||
session, imageTemplate.WithIndex(imageIndex), { 0, 0, height }, { { 3, 3, height }, { 26, 26, 79 } });
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user