1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

Fix visual glitch with litter at sloped path

This commit is contained in:
Rik Smeets
2022-09-11 18:30:49 +02:00
committed by GitHub
parent b258298b69
commit b161a46beb
2 changed files with 2 additions and 1 deletions

View File

@@ -65,6 +65,7 @@
- Fix: [#17959] Areas marked for dirty drawing are too large.
- Fix: [#17966] Reversed steel trains do not properly import from S4.
- Fix: [#18008] Steeplechase S-bends has multiple gaps visible in the tracks.
- Fix: [#18009] Visual glitch with litter at edge of sloped path.
0.4.1 (2022-07-04)
------------------------------------------------------------------------

View File

@@ -188,5 +188,5 @@ void Litter::Paint(paint_session& session, int32_t imageDirection) const
// In the following call to PaintAddImageAsParent, we add 4 (instead of 2) to the
// bound_box_offset_z to make sure litter is drawn on top of railways
PaintAddImageAsParent(session, image_id, { 0, 0, z }, { 4, 4, -1 }, { -4, -4, z + 4 });
PaintAddImageAsParent(session, image_id, { 0, 0, z }, { 5, 5, -1 }, { -4, -4, z + 4 });
}